[Puppet Users] passing argument to a class or a module

2012-01-26 Thread Olivier
I see plenty of examples of classes or modules such as ntp or sudo or ssd. But none of these examples pass an argument to a class or a module. If I wanted to pass the rpm name to a module or a class, what would be the call to that class in site.pp and what would be the class definition in init.pp

[Puppet Users] Re: passing argument to a class or a module

2012-01-26 Thread Olivier
Thank you On Jan 26, 5:48 pm, Nan Liu wrote: > On Thu, Jan 26, 2012 at 5:22 PM, Joehillen wrote: > > You can't pass arguments to classes, only defines. > > Classes support parameters since 2.6.0, here's the > documentation:http://docs.puppetlabs.com/learning/modules2.html > > Nan -- You recei

[Puppet Users] Mining hash field out of the /etc/shadow shadow file

2012-01-29 Thread Olivier
Hello in James Loope's book (called Managing Infrastructure with Puppet), he writes on page23: "The password hash can either be mined out of a shadow file or generated with the mkpasswd utility." My question is: how can the hash field be mined out of the shadow field. I tried to use the generate f

[Puppet Users] Re: Mining hash field out of the /etc/shadow shadow file

2012-01-29 Thread Olivier
and then lookup the hash in the /etc/shadow file > or use the mkpasswd utility (with which I am not familiar) > > Once you have the hashed value of your desired clear text password > you can copy&paste that in the user definition. > > -Stefan > your answer is just the text of my original question

[Puppet Users] Re: Mining hash field out of the /etc/shadow shadow file

2012-01-31 Thread Olivier
Hello Thank you for the help and this is what I ended up doing. OLivier -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email

[Puppet Users] Error 400 on SERVER: Duplicate definition

2012-01-31 Thread Olivier
t; 'Other', } My problem is that I need to call the class multiple times in the site.pp file but with different parameters. How can I do that? Thank you Olivier -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post t

[Puppet Users] Re: Error 400 on SERVER: Duplicate definition

2012-01-31 Thread Olivier
This is a great example, but I need one more detail. Is "mail" a class or a module? Thank you -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, sen

[Puppet Users] Manifest organization

2012-01-10 Thread Olivier
Hello I am new to Puppet and am having a hard time relating modules and classes in configuration files to actual operating system files. For instance I saw the following example on this list: node 'somenode' { include puppetmaster } class puppetmaster { include common include puppet in

Re: [Puppet Users] Re: Firewall between master and client?

2009-11-21 Thread Olivier
2009/11/20 zoniguana > Depends, really, on your firewall and what you want to accomplish. > Your clients need to be able to initialize connections to the server's > port 8140 (TCP). > Your server needs to be able to reply from its TCP 8140 back to the > client, but does not need to initiate conne

[Puppet Users] Noob - What means "Cannot access mount[plugins]" ?

2009-01-06 Thread Olivier
Hi, I'm new to Puppet. I installed Puppet on Debian Lenny (version is 0.24.5). When I'm trying to use puppet locally (on the machine I installed puppetmaster on), I keep getting messages such as : err: /File[/var/lib/puppet/lib]: Failed to generate additional resources during transaction: Cannot

[Puppet Users] Re: Noob - What means "Cannot access mount[plugins]" ? [SOLVED]

2009-01-06 Thread Olivier
2009/1/6 Robin Lee Powell > > On Tue, Jan 06, 2009 at 11:23:56AM +0100, Olivier wrote: > > Hi, > > > > I'm new to Puppet. > > I installed Puppet on Debian Lenny (version is 0.24.5). > > > > When I'm trying to use puppet locally (on the mach

[Puppet Users] Debian Apache2 Recipe Pattern: "Could not find dependent Exec[reload-apache2] "

2012-07-30 Thread Olivier Vernin
Hello, I copy past the Debian Apache2 Recipe Pattern from the Puppet wiki, unfortunatly it raise an error with puppet 2.7.14. "Could not find dependent Exec[reload-apache2] for Exec[/usr/sbin/a2ensite 000-default] at /tmp/vagrant-puppet/" http://projects.puppetlabs.com/projects/1/wiki/Debia

[Puppet Users] Puppet Agent VS User

2012-08-23 Thread Olivier Vernin
Hello, Running into a problem when wanting to daemon-ize the agent. It doesnt seems to do anything: - cannot find any daemon process with (ps aux | grep puppet) - the config is not updated after editing some params on the master - /var/log/puppet stay empty... while, when logged as root, it is

[Puppet Users] Re: Puppet Agent VS User

2012-08-23 Thread Olivier Vernin
Found the issue, the listen=true in puppet.conf is requiring an /etc/puppet/auth.conf otherwise the daemon is not starting. O On Thursday, August 23, 2012 12:36:19 PM UTC+3, Olivier Vernin wrote: > > Hello, > > Running into a problem when wanting to daemon-ize the agent. It doesnt &

[Puppet Users] Hiera dump

2012-11-25 Thread Olivier Bazoud
get all keys from hiera ? Thanks, Olivier. -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To view this discussion on the web visit https://groups.google.com/d/msg/puppet-users/-/Wju_4oRX2vQJ. To post to this group, send email to pu

[Puppet Users] Puppet 3.1.0 Execution hanging

2013-02-26 Thread Olivier Trempe
a/PuppetLabs/puppet/etc/ssl] Debug: Finishing transaction 86414160 Debug: Loaded state in 0.00 seconds *Hangs another ~11 seconds here* Debug: Loaded state in 0.00 seconds Info: Applying configuration version '1361821561' Debug: /Schedule[daily]: Skipping device resources because running on a

[Puppet Users] Puppet execution hangs for long periods of time

2013-02-26 Thread Olivier Trempe
t Debug: /Schedule[monthly]: Skipping device resources because running on a host Debug: /Schedule[hourly]: Skipping device resources because running on a host Debug: /Schedule[never]: Skipping device resources because running on a host Debug: /Schedule[weekly]: Skipping device resources because

Re: [Puppet Users] Puppet execution hangs for long periods of time

2013-03-01 Thread Olivier Trempe
; going on during those breaks. > > On 02/25/2013 09:16 PM, Olivier Trempe wrote: > > Hi, > > > > I wrote a little "hello world" script and I am a little concerned by > > execution that hangs for long periods of time. > > > > *computer:

Re: [Puppet Users] Puppet execution hangs for long periods of time

2013-03-04 Thread Olivier Trempe
Ok, I just tried on Windows 7 and I don't observe the performance issue. Thanks to all of you. I will not push this investigation further as I hope to have my linux master soon! On Monday, March 4, 2013 7:32:11 AM UTC-5, Felix.Frank wrote: > > On 03/01/2013 09:32 PM, Josh Cooper wrote: > > >

[Puppet Users] Windows + Python Installation + pip + PATH environment variable

2013-03-11 Thread Olivier Trempe
t find pip on the system. Did someone here found a clean solution to this. (I started to do a hacky procedure with a custom fact executing SendMessageTimeout. It didn't even work and I don't want to pursue with this hazardous trail) Thanks in advance! Olivier Trempe -- You received

[Puppet Users] Dashboard - Unable to submit report to http://127.0.0.1:3000/reports/upload [301] Moved Permanently

2013-06-11 Thread Olivier Trempe
xx.x.xxx http_proxy_port = 3128 [master] reporturl = http://127.0.0.1:3000/reports/upload reports = store, http dns_alt_names = xx.x.xxx Can someone help me with this? Thanks Olivier Trempe -- You received this message because you are subscribed to the

[Puppet Users] Re: How can I install puppetexplorer by hand?

2017-02-06 Thread Olivier Contant
Thanks for the missing command to install puppetexplorer apache profile. The https://forge.puppet.com/spotify/puppetexplorer/readme forgot to put this critical step. puppet agent -t --tags puppetexplorer -- You received this message because you are subscribed to the Google Groups "Puppet

[Puppet Users] Re: puppetserver 2.0.0: out of memory with Xmx3g and 1 client

2015-08-27 Thread Olivier Hanesse
Hello Thomas, What was your function like ? I think I got the same issue of my side. Olivier Le jeudi 28 mai 2015 13:53:23 UTC+2, Thomas Müller a écrit : > > it seems it was caused by an 15 line custom function which worked for the > last few years. replaced it by some stdlib funcn

[Puppet Users] Error : Could not find default node or by name with 'xxxxx.domain.local, xxxxx.domain, xxxxx' on node xxxxx.domain.local

2016-02-01 Thread Olivier Lemoine
certificate (I cut/copy my node decalaration (manifests) from developpement environnement to homologation environnement) What is wrong ? Sorry for bad english :-) Best regards, Olivier -- You received this message because you are subscribed to the Google Groups "Puppet Users

Re: [Puppet Users] apt-get -t lenny-backports

2010-12-12 Thread Olivier Le Cam
exec ... I myself use exec... Another workaround is to specify the version of the package. For example: package { "varnish": ensure => "2.1.5639-1~svn", } HTH -- Olivier -- You received this message because you are subscribed to the Google Groups "Puppet

[Puppet Users] Having tags available at master side ?

2011-03-07 Thread Olivier Le Cam
Hi - I just upgraded to puppet v2.6 hoping that tags would be available at the puppet-master side in the yaml files (/var/lib/puppet/yaml/node/*.yaml). Did I missed something? Thanks in anticipation for any pointers. -- Olivier -- You received this message because you are subscribed to the