Re: [Puppet Users] Puppet Triage-A-Thon

2012-01-10 Thread Martin Alfke
Hi Daniel, one ticket from me: #8893 HP-UX: allow shared homedirs for users I am looking forward to join via IRC. Kind regards, Martin On 10.01.2012, at 19:20, Daniel Pittman wrote: Those are high priority for the platform team anyhow, but if there is something you feel we have missed

Re: [Puppet Users] Installing up to date puppet on Ubuntu

2012-05-22 Thread Martin Alfke
Hi, On 22.05.2012, at 13:08, felix wrote: Hi, Ubuntu Lucid has a very outdated puppet, 0.25.4 according to: http://docs.puppetlabs.com/guides/puppetlabs_package_repositories.html#for-debian-and-ubuntu I did this to enable the repository: wget

Re: [Puppet Users] Conditional with variable from facter

2012-06-18 Thread Martin Alfke
Hi, On 18.06.2012, at 17:14, Wolf Noble wrote: Hi Jakov, the two semicolons locate these variables as being in top-scope/variables outside of any specific module. please note that these are colons (:) no semicolons(;). otherwise it might be $modulename::variable Does that help at

Re: [Puppet Users] Puppet can't successfully restart puppetd

2012-06-27 Thread Martin Alfke
On 27.06.2012, at 11:01, Felix Frank wrote: On 06/27/2012 10:51 AM, Matthew Burgess wrote: is there something special about the puppet service that it issuing the equivalent of 'service puppet restart' doesn't actually work? Oh, it works, but think of what you're having puppet do: By

Re: [Puppet Users] Puppet / Passenger and Firewall

2012-06-27 Thread Martin Alfke
On 27.06.2012, at 16:17, Dan White wrote: I expect I need to allow incoming TCP on 8140 for connections from any puppet agent/clients, but do I need anything else opened up in the firewall in either direction ? when you use puppet kick from the master you need to open port 8141 on any

Re: [Puppet Users] Puppet can't successfully restart puppetd

2012-07-04 Thread Martin Alfke
On 03.07.2012, at 21:31, Steve Traylen wrote: On Wednesday, 27 June 2012 11:31:17 UTC+2, Felix.Frank wrote: On 06/27/2012 11:19 AM, Matthew Burgess wrote: We redefined the restart command: restart = '/usr/bin/nohup /etc/init.d/puppet restart ' Nice! Thanks very much, Martin,

Re: [Puppet Users] sslv3 alert handshake failure

2012-07-06 Thread Martin Alfke
Hi, - check time on client and server - check ruby version on the 3 server which fail - check SSLDir configuration in /etc/puppet/puppet.conf on the 3 systems. Martin On 06.07.2012, at 09:57, Martinus wrote: I have a problem on 3 out of ~40 servers that gives the following error: err:

Re: [Puppet Users] sslv3 alert handshake failure

2012-07-06 Thread Martin Alfke
systems (config file is copied across systems). I checked, and the standard set of directories are there and owned by Puppet. However, crl.pem is not present like on the working systems. Martinus. On Friday, 6 July 2012 09:07:46 UTC+1, Martin Alfke wrote: Hi, - check time on client

Re: [Puppet Users] sslv3 alert handshake failure

2012-07-06 Thread Martin Alfke
= HTTP_X_CLIENT_DN ssl_client_verify_header = HTTP_X_CLIENT_VERIFY Martinus. On Friday, 6 July 2012 09:46:38 UTC+1, Martin Alfke wrote: On puppet master: puppet cert --clean fqdn on client: rm -fr /var/lib/puppet/ssl/* puppet agent --test check on master for signing request: puppet cert --list

Re: [Puppet Users] sslv3 alert handshake failure

2012-07-06 Thread Martin Alfke
From http://projects.puppetlabs.com/projects/1/wiki/Certificates_And_Security Check certificate and validity: openssl x509 -text -noout -in /var/lib/puppet/ssl/certs/hostname.tld.pem How do you specifiy the puppetmaster on the clients? Do you have a server= line in puppet.conf? How do the

Re: [Puppet Users] execute a command if a package isn't installed, then install the package

2012-07-16 Thread Martin Alfke
Hi On 15.07.2012, at 00:30, Peter Bukowinski wrote: On Jul 14, 2012, at 5:19 PM, loki77 lok...@gmail.com wrote: Hi, I'm trying to install the 'unbound' dns resolver in ubuntu via puppet and I'm running into some issues. The issue isn't that the package doesn't install, but rather that apt

Re: [Puppet Users] Overriding parametrised class parameter

2012-07-18 Thread Martin Alfke
Hi, I assume that this is related to node inheritance and variable scoping: http://docs.puppetlabs.com/guides/troubleshooting.html#node-inheritance-and-variable-scope - Martin On 18.07.2012, at 15:32, Rik Theys wrote: Hi, I have a parametrised class to manage /etc/security/access.conf

Re: [Puppet Users] Could not find dependency Package even the package already theres.

2012-07-31 Thread Martin Alfke
On 31.07.2012, at 10:58, heriyanto wrote: asterisk package already installed. I don't plan installation for this package managed by puppet. just want manage the file configuration. it come up when i yum search. actually how require = Package working? its checking to repos or into

Re: [Puppet Users] Override a file{} directive - is it possible?

2012-08-21 Thread Martin Alfke
On 20.08.2012, at 23:08, Sean Carolan wrote: It's not really the cleanest-looking thing, but the easiest option for your particular case is to wrap the file resource in an if statement like this: if (! $::security_limits_disabled) { file { '/etc/security/limits.conf': ... }

Re: [Puppet Users] Dependencies between defines

2012-08-22 Thread Martin Alfke
On 22.08.2012, at 14:27, Axel Bock wrote: Hi readers another question for my little puppet project: Can I (and if yes, how) define dependendies between puppet defines? (define like in define mymodule::mydefine() {...}) Example: I have a define prepare_cool_thing and another define

Re: [Puppet Users] Re: Dependencies between defines

2012-08-23 Thread Martin Alfke
On 23.08.2012, at 14:25, Axel Bock wrote: Ah maybe I'm too stupid but the whole puppet dependency resolution _seriously_ annoys me, so this is half a rant post, half a plea for someone to enlighten me about this dependency thing puppet has going. I have another custom define which

Re: [Puppet Users] nested modules and autoloading

2012-09-28 Thread Martin Alfke
Hi Tim, please check your class and file names. The following is working: modules/http/manifests/init.pp class 'http' { include http::config_file } modules/http/manifests/config_file.pp class http::config_file { file { '/tmp/http': content = 'http', } }

Re: [Puppet Users] sourceselect all

2012-11-13 Thread Martin Alfke
Hi Bernardo, On 12.11.2012, at 20:00, Bernardo Costa wrote: I am using puppet-2.6.17 from a centos 5.x box and after reading the documentation (http://docs.puppetlabs.com/references/2.6.17/type.html#file) I feel the need of using the sourceselect parameter set to all for

Re: [Puppet Users] Puppet client won't autostart

2012-11-13 Thread Martin Alfke
Hi Bret, On 13.11.2012, at 13:18, Bret Wortman wrote: I'm getting this problem on all the puppet client's I've been setting up and it's got me both scratching my head (because I'm not seeing anything obvious in any system logs) and pausing in my rollout until I get it solved: # puppet

Re: [Puppet Users] Getting Started with Hiera

2012-11-16 Thread Martin Alfke
Hi, On 15.11.2012, at 19:20, Worker Bee wrote: Hi Everyone; Can anyone direct me towards documentation on getting started with Hiera? SPecifically, I ma looking for an easy way to verify post-install functionality. I did visit the following page which is is blank...

[Puppet Users] Do you want a Puppet Conference in Berlin, Germany

2012-11-19 Thread Martin Alfke
Hello everybody, I am thinking about running a Puppet Conf in Berlin/Germany. Are there any people on this list from nearby? Do you want to support (talk, workshop)? Many thanks, Martin -- You received this message because you are subscribed to the Google Groups Puppet Users group. To post

Re: [Puppet Users] Do you want a Puppet Conference in Berlin, Germany

2012-11-19 Thread Martin Alfke
or - late November 2013 Many thanks, Martin On Mon, Nov 19, 2012 at 3:02 AM, Martin Alfke tux...@gmail.com wrote: Hello everybody, I am thinking about running a Puppet Conf in Berlin/Germany. Are there any people on this list from nearby? Do you want to support (talk, workshop)? Many

Re: [Puppet Users] Do you want a Puppet Conference in Berlin, Germany

2012-11-25 Thread Martin Alfke
On 19.11.2012, at 18:18, Dawn Foster d...@puppetlabs.com wrote: On Mon, Nov 19, 2012 at 12:09 AM, Martin Alfke tux...@gmail.com wrote: On 19.11.2012, at 09:06, Geoff Galitz wrote: Hi. I'd be in (with enough notice, of course). I'd be even more in if the conference was on the other

Re: [Puppet Users] user resource, get password from command on master

2012-12-10 Thread Martin Alfke
On 10.12.2012, at 09:49, Andrei-Florian Staicu wrote: On Mon, Dec 10, 2012 at 10:28 AM, Martin Alfke tux...@gmail.com wrote: Hi Andrei, On 10.12.2012, at 09:22, Andrei-Florian Staicu wrote: Hi all, I started managing users with puppet (3). Right now it works ok, but I have

Re: [Puppet Users] storeconfigs and exported resources?

2013-01-14 Thread Martin Alfke
Hi Jkov, On 14.01.2013, at 19:03, Jakov Sosic jso...@srce.hr wrote: Hi, I've enabled storeconfigs on my puppetmaster: [puppetmasterd] storeconfigs = true thin_storeconfigs = true dbadapter = sqlite3 dblocation = $statedir/clientconfigs.sqlite3 Have you restarted your

Re: [Puppet Users] Agent nodes not appearing in Enterprise live management

2013-03-22 Thread Martin Alfke
Hi Steve, On 22.03.2013, at 10:49, Steve F wrote: Hi all, First off, I'm very much a new user when it comes to Puppet, just trying to get my head around all that it can do so I'm assuming I've missed something extremely obvious. I have a small setup consisting of three virtual

Re: [Puppet Users] Running ENC alongside site.pp (node defn)

2013-03-26 Thread Martin Alfke
Hi. On 26.03.2013, at 15:44, iamauser wrote: Hello, Is it possible to configure an ENC to provide class definition to a number of nodes at the same time where a few other nodes are controlled in the site.pp by node 'FQDN' {blah} for the same puppetmaster ? ENC and site.pp do not

Re: [Puppet Users] Running ENC alongside site.pp (node defn)

2013-03-28 Thread Martin Alfke
:39 PM UTC-5, Pete wrote: On 27 March 2013 01:02, Martin Alfke tux...@gmail.com wrote: Hi. On 26.03.2013, at 15:44, iamauser wrote: Hello, Is it possible to configure an ENC to provide class definition to a number of nodes at the same time where a few other nodes are controlled

Re: [Puppet Users] File directive

2013-06-20 Thread Martin Alfke
Hi Roman, you can check for a defined package resource if defined(Package['nginx']) { file { …… } } In this case the file resource will only be managed if the package resource has been defined. This does not mean, that the package has been installed successfully! For this option you have to

Re: [Puppet Users] Manifest that runs before anything else

2013-07-17 Thread Martin Alfke
Hi Mark, looks you have a valid need for stages. http://docs.puppetlabs.com/references/latest/metaparameter.html#stage You can run complete classes in a single stage. - Martin On Jul 16, 2013, at 5:13 PM, Mark Hatch mhatc...@gmail.com wrote: I started making manifest that are classes so that

Re: [Puppet Users] Stage is a metaparam warning

2013-07-23 Thread Martin Alfke
Hi Jacov, stage is a meta-attribute which you can use when declaring a class. You added the stage attribute to the class definition. You can change your code to look like the following: class yum::repo::pgdg92 ( $exclude = [] ) { … } Afterwards you use the stage attribute in the class

Re: [Puppet Users] Re: RFC: Refactoring the mount provider.

2011-04-20 Thread Martin Alfke
+1 for using one resource type with different parameters. On 04/19/2011 10:22 PM, Forrie wrote: +1 here for this. Having said that, I think mingling the setting in there with the two basic types would be essential to keep this simple. All the heavy lifting should go on automatically in

Re: [Puppet Users] how to fix symbolic links

2011-04-20 Thread Martin Alfke
On Apr 20, 2011, at 6:07 PM, Sans wrote: Dear all, Say for example, this is the package, already installed on the system: # rpm -qa | grep lfc-libs lfc-libs-1.8.0-1sec.sl5 lfc-libs-1.8.0-1sec.sl5 and I want a symbolic: liblfc.so - libdpm.so.1.8.0 in /opt/lfc/ lib, for example. Is

Re: [Puppet Users] Default parameters for classes with parameters

2011-04-21 Thread Martin Alfke
Hi On Apr 21, 2011, at 10:58 AM, Oliver Schad wrote: Hi all, does somebody know if default parameters in classes with parameters work? I tried it with puppet v2.6.7 i.e.: this is possible according to documentation:

Re: [Puppet Users] Conditionals

2011-05-03 Thread Martin Alfke
Hi, general: it would be nice if you could also send logoutput. On 05/03/2011 08:34 AM, Giovanni Bordello wrote: Hi guys, I'm trying to get my head around conditionals and variables. What I'm trying to do now is to distinguish between puppet servers and puppet clients and deliver some

Re: [Puppet Users] Re: Resolving/ Expanding module puppet:/// URI in exec line

2011-05-03 Thread Martin Alfke
Hi Edd, here is an example: class apache-maven-v3 { # prepare local filesystem file { 'java_path': path = /usr/local/java, ensure = directory, } # copy file from puppet master to local system file { 'copy_maven_v3':

Re: [Puppet Users] Re: Resolving/ Expanding module puppet:/// URI in exec line

2011-05-04 Thread Martin Alfke
with this? I'm trying to avoid resorting to exec commands if possible! Cheers, Edd On May 3, 10:45 am, Martin Alfke tux...@gmail.com wrote: Hi Edd, here is an example: class apache-maven-v3 { # prepare local filesystem file { 'java_path': path = /usr/local

Re: [Puppet Users] Puppet Master System Requirements

2011-05-10 Thread Martin Alfke
Hi, On 05/10/2011 03:04 PM, Panaman wrote: I've been messing around with Puppet on a VM on my personal desktop. It looks descent. I was wondering what kind of load this thing would have managing about 400 nodes. Does this thing require a beefy server? we manage 320 nodes on a XEN VM based

Re: [Puppet Users] Re: Puppet Master System Requirements

2011-05-10 Thread Martin Alfke
On 05/10/2011 04:25 PM, Panaman wrote: when you say 80% used do you meen like your cpu is 80%? CPU is 20% unused and 80% used (according to /proc/stat) On May 10, 10:16 am, Martin Alfke tux...@gmail.com wrote: Hi, On 05/10/2011 03:04 PM, Panaman wrote: I've been messing around

Re: [Puppet Users] SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B

2011-05-17 Thread Martin Alfke
On 05/17/2011 08:59 AM, Nicolas Jungers wrote: I ran in this problem an digged the net for a while to find a solution. I have a fresh puppet install, and most nodes run fine but some exhibit the following error: err: Could not retrieve catalog from remote server: SSL_connect returned=1

Re: [Puppet Users] Facts are propatating but dont work from within templates and classes

2011-05-26 Thread Martin Alfke
On May 26, 2011, at 2:50 PM, M C wrote: Hi, I have a big problem with custom facts. I created a stub module with a lib/facter directory as stated in the official Puppet documentation. This is the output i get: # puppetd -t --pluginsync info: Retrieving plugin notice:

Re: [Puppet Users] Facts are propatating but dont work from within templates and classes

2011-05-27 Thread Martin Alfke
] modulepath = /etc/puppetlabs/puppet/environments/testing/modules manifest = /etc/puppetlabs/puppet/environments/testing/manifests/site.pp THanks , Matteo 2011/5/26 Martin Alfke tux...@gmail.com On May 26, 2011, at 2:50 PM, M C wrote: Hi, I have a big problem with custom facts. I

Re: [Puppet Users] RFC: Adding implicit stages to Puppet

2011-06-09 Thread Martin Alfke
I prefer having a small number of predefined stages in puppet. This makes it easier to share modules which use stages. My suggestion: - a small number of stages is easier to remeber - a samll numer of possibilities makes people think in advance in which stage they need to put their module

Re: [Puppet Users] Questions for puppet 2.6.8 client certificate management

2011-06-17 Thread Martin Alfke
Hi, On Jun 17, 2011, at 2:49 PM, TJ Yang wrote: How do I initiate a certificate request without going into non-daemon mode ? According to Pro Puppet book, so far the only way I know that can trigger a certficate request with puppet master is like this puppet agent

Re: [Puppet Users] apt-key and untrusted packages

2011-06-22 Thread Martin Alfke
On 06/22/2011 11:29 PM, Craig White wrote: Perhaps this is a Debian/Ubuntu question and not a puppet problem but... Seems as though the key is good but the install failed. # apt-key list /etc/apt/trusted.gpg --- snip --- pub 2048R/7F0CEB10 2010-02-05 uid

Re: [Puppet Users] How to manage many nodes easily?

2011-06-22 Thread Martin Alfke
On 06/23/2011 04:35 AM, flex wrote: These is another question, i have many defines which will apply an application to sepcified path, called as: application::add { app1: path = /var/app1 } by this i can apply app1 and app2 in node1, app3 and app4 in node2, etc. now, how do i switch this

[Puppet Users] Re: How to manage many nodes easily?

2011-06-22 Thread Martin Alfke
On Jun 23, 7:44 am, Martin Alfke tux...@gmail.com wrote: On 06/23/2011 04:35 AM, flex wrote: These is another question, i have many defines which will apply an application to sepcified path, called as: application::add { app1: path = /var/app1 } by this i can apply app1 and app2

Re: [Puppet Users] Re: How to manage many nodes easily?

2011-06-23 Thread Martin Alfke
/23 Martin Alfke tux...@gmail.com mailto:tux...@gmail.com On Jun 23, 7:44 am, Martin Alfke tux...@gmail.com mailto:tux...@gmail.com wrote: On 06/23/2011 04:35 AM, flex wrote: These is another question, i have many defines which will apply an application

Re: [Puppet Users] How to add extra lines in the existing files?

2011-06-23 Thread Martin Alfke
On 06/23/2011 12:55 PM, Sans wrote: Dear all, As in the title, how do I add some extra lines in a existing file and check every time for its presence? I just don't want to copy over the existing file for some good reason (system files etc.). Any idea how should I do that? cheers!! Hi,

Re: [Puppet Users] Re: error with puppet

2011-06-25 Thread Martin Alfke
On 24.06.2011, at 22:59, jcbollinger wrote: On Jun 24, 3:30 am, Neelam ajender.nee...@gmail.com wrote: err: Could not retrieve catalog from remote server: hostname was not match with the server certificate warning: Not using cache on failed catalog err: Could not retrieve catalog;

Re: [Puppet Users] puppet terminating - continually forcing itself to stop

2011-07-05 Thread Martin Alfke
On 07/05/2011 03:19 PM, Brian Gallew wrote: I was seeing the behavior on my Solaris boxes when running Puppet under SMF. The issue, in my case, was that I was trying to work around an SMF bug. My workaround was to svcadm disable puppetd;svccfg import

Re: [Puppet Users] Adding users to groups

2011-07-22 Thread Martin Alfke
Hi, On Jul 22, 2011, at 2:31 PM, Oliver Beattie wrote: I have a definition like this in one of my manifests: group { 'foo': ensure = present, } user { 'bar': ensure = present, groups = ['foo'], managehome = true, home = '/home/bar', shell =

Re: [Puppet Users] Adding users to groups

2011-07-22 Thread Martin Alfke
On Jul 22, 2011, at 4:23 PM, Oliver Beattie wrote: Hi, Yes, this is Debian (Ubuntu). If I specify groups (not gid) surely the groups the user gets added to should be secondary, not primary? If I run the command directly I get the same error (although not if I lowercase the g of

Re: [Puppet Users] module creation

2011-07-26 Thread Martin Alfke
Hi Roni, best to start with learning puppet: http://docs.puppetlabs.com/learning/ If you look for special modules you want to check the module forge: http://forge.puppetlabs.com/ There you will find lots of modules also covering apache, php and mysql. hth, Martin On 07/26/2011 01:52 PM, Rony

Re: [Puppet Users] Writing custom manifest

2011-08-02 Thread Martin Alfke
Hi, another possibility would be to put your puppet configuration files into version control and use the config file within in file resource. You can then connect file resources with exec resources. e.g. (untested!) file { '/usr/local/apache/etc/': owner = root, group = root,

Re: [Puppet Users] distribute a website

2011-08-02 Thread Martin Alfke
Hi, On 02.08.2011, at 13:19, Boian Mihailov wrote: Hello everyone. I am fairly new to puppet, and i just love it. I am trying to distribute websites across my web servers. I've tried file copy with recursion but its fairly slow process and i believe its not quite right to do it this way.

[Puppet Users] HP-UX user resource and shared homedir

2011-08-09 Thread Martin Alfke
Hi, on HP-UX we want some users to have the same homedir. Homedir is managed by puppet as file resource. We now want to move the users to another primary group. useradd.sam complains: err: /User[XXX]/gid: change from 3 to 0 failed: Could not set gid on user[XXX]: Execution of

[Puppet Users] Re: HP-UX user resource and shared homedir

2011-08-09 Thread Martin Alfke
On Aug 9, 10:27 am, Martin Alfke tux...@gmail.com wrote: Hi, on HP-UX we want some users to have the same homedir. Homedir is managed by puppet as file resource. We now want to move the users to another primary group. useradd.sam complains: err: /User[XXX]/gid: change from 3 to 0

Re: [Puppet Users] question about tags

2011-08-16 Thread Martin Alfke
Hi Harold, On 08/16/2011 01:56 PM, Harold Ditchfield wrote: According to the docs, you can specify tags on the command line and in the puppet.conf but can you specify them in something like the nodes.pp on the puppetserver. Interested to see if the tags can be managed from a central spot

Re: [Puppet Users] Re: copying files to the agent that matched hostname

2011-08-17 Thread Martin Alfke
Hi San, On 08/16/2011 08:46 PM, Sans wrote: Thanks John! Is $hostname a puppet built-in variable like $operatingsystem, $fqdn etc? These varaibles are made available to puppet by facter. You can run facter on command line to see facter output. Regards, Martin -San On Aug 16, 3:38 pm,

Re: [Puppet Users] Help Getting Puppet to run on HP-UX (as a client)

2011-08-17 Thread Martin Alfke
Hi, what puppet version are you using? We were able to run puppet 2.6.2 with ruby 1.8.4 and 1.8.7 Please note also bug http://projects.puppetlabs.com/issues/8893 reagrding users with shared homedirs. You might also want to check the puppet HP-UX wiki site:

Re: [Puppet Users] Requiring types in other classes

2011-08-24 Thread Martin Alfke
On 08/24/2011 11:54 AM, Jonathan Gazeley wrote: Hi, Sorry if this is a basic question, but I can't find the answer in the docs. I know about fully-qualified variables, but how can I reference a type that is defined in a different class, so I can require/subscribe it? In this simple

Re: [Puppet Users] Some beginner's questions...

2011-08-29 Thread Martin Alfke
Hi Francis, On 08/29/2011 09:10 AM, Francis GALIEGUE wrote: Hello list, We wish to use Puppet to manage our VMs but have some questions which we couldn't find the answer to. Have you tried the learning puppet section? http://docs.puppetlabs.com/learning/ First, we want to use push from

Re: [Puppet Users] puppet agent memory useage

2011-09-23 Thread Martin Alfke
Hi, On 23.09.2011, at 13:01, datastream wrote: Hi, Three days ago i notice puppet agent in many node use a lot of memory(some nodes about 1G),and many of them start at April 23. All system is debian 6.0.2/amd64(puppet 2.6.5-2,facter 1.5.7 ), everything is up to date.After restart

[Puppet Users] Puppet throws error when evaluating block after statement

2011-11-17 Thread Martin Alfke
::usermanagement { 'alfke': gid = 1024, uid = 1024, comment = 'Martin Alfke', } The following error shows up: Could not parse for environment production: Could not match { at /Users/mea/Documents/Work/puppet/modules/base_users/manifests/usermanagement2.pp:3 on node martin

[Solved] [Puppet Users] Puppet throws error when evaluating block after statement

2011-11-17 Thread Martin Alfke
On 17.11.2011, at 14:49, jcbollinger wrote: On Nov 17, 2:18 am, Martin Alfke tux...@gmail.com wrote: Hi, using the following manifests inside a module: define base_users::usermanagement($gid='', $uid='', $groups='', $comment='', $home='', $ensure=present) { if ($comment

[Puppet Users] Is package gem and provider gem usage in one puppet run possible?

2011-11-25 Thread Martin Alfke
Hi, we want to install the ruby-gem package on a Debian system using puppet. package { 'ruby1.9.1': ensure = present } In another manifest we want to use the gem provider to install a ruby gem. package { 'bundler': ensure = present, provider = gem } On the first run the puppet

Re: [Puppet Users] Is it possible to conditionally replace a file ?

2011-11-29 Thread Martin Alfke
On 28.11.2011, at 19:18, Stefan Schulte wrote: [...] Thanks for responding. I agree, globally customizing the defaults is one way to go, but I am shooting for the second option. If you do not want the gobal defaults copied why are you using managehome = true? If you really have to

Re: [Puppet Users] Could find template at /modules/modules name/templates

2011-11-29 Thread Martin Alfke
Hi, On 29.11.2011, at 09:56, Diep Pham Van wrote: Hi, I have a problem. I have a modules name emacs. Under /modules/emacs, I have: - templates - files - manifests I cannot use template file from templates folder, It's say cold not find template ... But when I place the template

Re: [Puppet Users] Is it possible to chain events from an Exec?

2011-12-14 Thread Martin Alfke
Hi, my answer is inline.. On 14.12.2011, at 11:09, Edd Grant wrote: Hi All, I'm trying to write a module which unpacks an archive to a specified location, the idea is as follows: Let's say I'm trying to deploy an archive of grails-1.3.7 Check that a directory exists at

Re: [Puppet Users] ANNOUNCE: Puppet Dashboard 1.0.4 released!

2010-10-20 Thread Martin Alfke
On 20.10.2010, at 01:59, James Turnbull wrote: We're pleased to announce the availability of Puppet Dashboard 1.0.4! This is a maintenance release, it fixes a number of bugs, improves the user interface, significantly boosts performance and includes better RPM and DEB packages. The source

Re: [Puppet Users] Prevent users from creating new accounts

2010-11-04 Thread Martin Alfke
On Nov 4, 2010, at 8:28 AM, hywl51 wrote: Hi, all I want to control the user accounts on our company servers with puppet. The complete requirements are the following: 1. Assuming that one user run useradd on the server to create a new account named newuser. 2. Puppet will konw

Re: [Puppet Users] Running puppet as non-root user

2010-12-13 Thread Martin Alfke
Hi. On Dec 13, 2010, at 1:30 PM, Jesús Couto wrote: Hi. Lets say that for several administrative/burocratic/procedural reasons, you dont have the option of running puppet as root, in any way - not as a daemon on the managed node, nor as root on the command line with puppet apply. Say,

Re: [Puppet Users] certificate verify failed

2011-02-01 Thread Martin Alfke
Hi, is the time on both hosts (puppet master and puppet client) in sync? see http://projects.puppetlabs.com/projects/1/wiki/Certificates_And_Security Kind regards, Martin On Feb 1, 2011, at 2:59 PM, Pascal wrote: Hi, I use Debian 5.0.8 with puppet 6.2.6. I've got the following problem

Re: [Puppet Users] Defines, Realization and Variables

2011-02-12 Thread Martin Alfke
On 11.02.2011, at 15:42, li...@truthisfreedom.org.uk wrote: Hi all, I'm running puppet 0.25.5 and I'm running into an issue with virtual defines for setting up my NGinx Vhosts. The define is as follows: class nginx{ ... # Setup a resource to create the configuration files

Re: [Puppet Users] Berlin Puppet meet-up?

2011-03-14 Thread Martin Alfke
Hi Dan, On Mar 14, 2011, at 4:22 PM, Dan Bode wrote: Hi Puppeteers, I will be in Berlin for the next couple of weeks and was wondering if any Puppet users would be interested in getting together for beer, trading Puppet stories, etc... -Dan Will you be in Berlin, Germany? It would be

Re: [Puppet Users] Puppet Camp Announcements

2011-03-23 Thread Martin Alfke
Hi Jose, On Mar 18, 2011, at 9:40 PM, Jose Palafox wrote: Hi, We've set up a speaker line up, menu, and a bunch of other useful information about Puppet Camp on our website. The event is going to be awesome, we've got some great speakers, and social events planned. Nearly half the team

Re: [Puppet Users] syntax error with case statment; in file type.

2011-03-30 Thread Martin Alfke
On Mar 30, 2011, at 4:03 PM, trey85stang wrote: I am getting a syntax error in a module and I'm not sure why... Anyone care to take a look? class audit { file { /etc/audit.rules: owner = root, group = root, mode = 640, case $operatingsystemrelease { 10.2: { path

Re: [Puppet Users] Re: Passenger complains /etc/puppet/ssl doesn't exist.

2011-04-04 Thread Martin Alfke
On 04/05/2011 07:17 AM, Douglas Garstang wrote: Actually... this may be the cause... my puppet.conf is in a non standard location, and when running puppetmaster, I'm setting --confdir=/etc/puppet/common in /etc/init.d/puppetserver. How can I set this for passenger? put this in your config.ru:

Re: [Puppet Users] Catalog changes not picked up immediately

2011-04-05 Thread Martin Alfke
On 04/05/2011 04:10 PM, hai wu wrote: We have same problem, using modules for all and using passenger. Have to run puppet agent -tv at least 2 times if need to test a change right away .. I can confirm this behavior with puppet 2.6.2, using modules and running on passenger on RHEL5 and on

Re: [Puppet Users] file_line assistance

2013-07-31 Thread Martin Alfke
Hi, do you have pluginsync enabled? During the first puppet agent run (after you have added std lib module) you will see many files synced to the agent. hth, Martin On Jul 30, 2013, at 11:24 PM, Tom Hanstra t...@miwoods.net wrote: I'm running puppet 3.2.3 with the current (4.1.0) stdlib

Re: [Puppet Users] Re: file_line assistance

2013-07-31 Thread Martin Alfke
http://projects.puppetlabs.com/issues/3504 factsync doesn't work when puppetmaster has _ in hostname Updated by Patrick Carlisle over 1 year ago • Status changed from Needs More Information to Closed This is an error raised by ruby’s URI library. Unfortunately the error is not more

Re: [Puppet Users] serving .exe file via http (provider = windows)

2013-08-05 Thread Martin Alfke
Hi, I assume that you have the exe file within your module in the files folder. Adopt the source attribute to the following: source = 'puppet:///modulename/filename Put the exe in your module: modulepath/modulename/files/exe filename http://docs.puppetlabs.com/references/latest/type.html#file

Re: [Puppet Users] Cloud Provisioning

2013-08-28 Thread Martin Alfke
Hi, the mentioned modules are not yet public. PuppetLabs needs to review the modules first. We were making the cloud connection and instance module public during last weeks PuppetConf. hth, Martin On Aug 28, 2013, at 12:24 PM, Dan White y...@comcast.net wrote: From

Re: [Puppet Users] Run a build module on first logon for new puppet clients

2013-09-09 Thread Martin Alfke
Hi Karl, you can achieve this by one of the following procedures: 1. by stage - enable stages http://docs.puppetlabs.com/puppet/latest/reference/lang_run_stages.html - put build class into an early stage - put all other classes into main stage Pro: does need one puppet run only. 2. by fact -

Re: [Puppet Users] Need help with defining same package resource in two modules

2013-09-17 Thread Martin Alfke
On Sep 17, 2013, at 8:18 AM, Rahul Khengare rahulk1...@gmail.com wrote: Hi Mani, Case2: A=true, when B runs it fails Error 400 on SERVER: Duplicate definition: Package[pkg1] is already defined in file A at line ; cannot redefine at How do i overcome this issue to complete the workflow

Re: [Puppet Users] Managing Duplicate PuppetLabs' modules and Community Involvement (puppetlabs/passenger puppetlabs/apache)

2013-09-26 Thread Martin Alfke
Hi, On Sep 25, 2013, at 4:50 PM, Brendan Murtagh brendan.r.murt...@gmail.com wrote: My reasoning for creating this post is two-fold. Currently there is two development efforts in progress for a common application. The community will benefit from having a combined effort in one place for

Re: [Puppet Users] exporting custom facts to puppet agents

2013-10-13 Thread Martin Alfke
Hi, On 13.10.2013, at 10:57, Sans r.santanu@gmail.com wrote: [...] The file is on the PuppetMaster. Hence the custom fact 'am_running_oss' is not available or empty when it runs on the agent. What are the options I have to make the custom facts(s) available on every single puppet

Re: [Puppet Users] request for /proc/cpuinfo examples from aix, hpux, kfreebsd, non-x86 linux

2013-10-22 Thread Martin Alfke
Hi Joshua, I will have time this weekend to check cpuinfo on Debian on my PPC64. I try to get someone involved with access to HP-UX. - Martin On Oct 22, 2013, at 4:17 AM, Joshua Hoblitt jhobl...@cpan.org wrote: It's been a week and I haven't gotten a single response. Does anyone actually

Re: [Puppet Users] request for /proc/cpuinfo examples from aix, hpux, kfreebsd, non-x86 linux

2013-10-22 Thread Martin Alfke
) =-+-=-+-=-+-=-+-=-+-=-+-=-+-=-+-=-+-=-+-=-+-=-+-=-+-=-+-=-+-=-+-=-+-=-+-=-+-= hth, Martin On Oct 22, 2013, at 8:27 AM, Martin Alfke tux...@gmail.com wrote: Hi Joshua, I will have time this weekend to check cpuinfo on Debian on my PPC64. I try to get someone involved with access to HP-UX. - Martin On Oct 22, 2013, at 4:17 AM, Joshua

Re: [Puppet Users] Issues referencing a class from another module

2013-10-29 Thread Martin Alfke
Hi Daniel, including modules from other classes is fully supported. You only need to take care on proper module path. What you plan to do sound like the roles and profiles principle. http://www.craigdunn.org/2012/05/239/ hth, Martin On 29 Oct 2013, at 06:23, Daniel Sage

Re: [Puppet Users] How to create local puppet forge repositories

2013-11-18 Thread Martin Alfke
Having a local forge available would be great. Some customers do not like to run un-audited code - they do most modules by themselves anyway. At the moment we use a CI build chain to create OS packages for our modules. But for dev’s a local forge would be a good opportunity for sharing modules

Re: [Puppet Users] puppet testing

2013-11-20 Thread Martin Alfke
the output and no work done. Are you saying I have to create a another pp file and add this in include mymodule and execute it with --noop? On Wednesday, 20 November 2013 16:14:33 UTC+5:30, Martin Alfke wrote: Hi Raj, you can do smoketsts for your module http://docs.puppetlabs.com

Re: [Puppet Users] puppet testing

2013-11-20 Thread Martin Alfke
the output and no work done. Are you saying I have to create a another pp file and add this in include mymodule and execute it with --noop? On Wednesday, 20 November 2013 16:14:33 UTC+5:30, Martin Alfke wrote: Hi Raj, you can do smoketsts for your module http://docs.puppetlabs.com/guides

Re: [Puppet Users] cannot find puppet_node_classifier

2013-11-21 Thread Martin Alfke
Hi, ENC description from puppetlabs can be found here: http://docs.puppetlabs.com/guides/external_nodes.html Or search/google for puppet enc examples you will find sites like this: https://github.com/rmt/puppetenc-ruby

Re: [Puppet Users] puppet agent on HP unix os

2013-12-30 Thread Martin Alfke
Hi Ankit, I have worked at a company where we run Puppet on HP UX. The findings have been added to the HP-UX site at Puppetlabs: https://projects.puppetlabs.com/projects/puppet/wiki/Puppet_HP-UX You just need openssl and ruby available on your system. hth, Martin On 27 Dec 2013, at 11:20,

Re: [Puppet Users] puppet agent on HP unix os

2014-01-01 Thread Martin Alfke
Hi Ankit, I have worked on the documented versions only. Besides this I do not have access to HP-UX systems at the moment. Sorry, Martin On 01 Jan 2014, at 10:30, Ankit Mittal ankit.lnc...@gmail.com wrote: Dear Martin, Thanks for the help. We are using HP UX 11.31 version , can you

Re: [Puppet Users] Choo choo here comes the FOSDEM train

2014-01-13 Thread Martin Alfke
Hi, my name is Martin Alfke from Berlin/Germany. This year I will attend FODEM for the first time. I will also be at the booth and at the config room. Unluckily I can not attend CfgmgmtCamp. I will arrive from Berlin via plane on Friday afternoon. Looking forward seeing you at FOSDEM. On 13

Re: [Puppet Users] Code coverage for puppet resources

2014-02-07 Thread Martin Alfke
On 07 Feb 2014, at 11:54, Gareth Rushgrove gar...@morethanseven.net wrote: On 7 February 2014 02:51, gh g...@garretthoneycutt.com wrote: On 1/26/14 7:50 AM, Gareth Rushgrove wrote: For anyone else who likes writing tests for their puppet manifests, I've just added basic code coverage to

Re: [Puppet Users] How to group systems using Puppet and hiera?

2014-02-18 Thread Martin Alfke
Hi Alex, On 17 Feb 2014, at 22:05, Alex Scoble bloggingit...@gmail.com wrote: Hi All, We are currently transitioning from using the Puppet Enterprise (PE) ENC to using hiera. Howevver, one piece of functionality that we lack with hiera is the ability to group systems together based on

  1   2   3   4   >