[Puppet Users] Re: restarting the smf services on solaris 10

2012-03-13 Thread Afroz Hussain
Thanks a lot Mohamed but there is changes that after enabling/disabling the service, it may go to maintenance state.. how do we check the status of the service and take appropriate action accordingly. Thanks Afroz On Mar 14, 1:59 am, Mohamed Lrhazi wrote: > Maybe you could test setting the star

[Puppet Users] Load-Balancing puppetmaster

2012-03-13 Thread hai wu
I am following steps in 'Pro Puppet' book to setup load balancing for puppetmaster. I am using passenger 3.0.11.9, ruby 1.8.7, puppet 2.7.12. While things were fine when it is single node configuration, after following the steps from 'Pro puppet' book, I got the following error when running puppet

Re: [Puppet Users] CentOS 5 packages in EPEL are outdated ?

2012-03-13 Thread Derek J. Balling
Is there rsync access to that repo? I'd like to mirror it behind our firewall so our machines can access it, and HTTP mirroring is so sub-optimal. D On Mar 13, 2012, at 12:58 PM, Michael Stahnke wrote: > Use the Puppet Labs repo, > > http://yum.puppetlabs.com it will always be updated. It

Re: [Puppet Users] Re: CentOS 5 packages in EPEL are outdated ?

2012-03-13 Thread Todd Zullinger
Julien C. wrote: Answering to myself: no 2.6.14 doesn't send reports. Is this only an issue with integrating with dashboard or are you not getting reports at all with 2.6.14? I'm using the EPEL packages and my reports are working AFAICT. -- ToddOpenPGP -> KeyID: 0xBEAF0CE3 | URL: w

[Puppet Users] Re: puppet eating solaris 10 crontab for lunch

2012-03-13 Thread Greg
Have seen similar. Quite often when prtdiag fails to complete, I've found that restarting svc:/system/picl:default returns everything back to normal... Hopefully all your root cron jobs are in Puppet and will be rebuilt on the next run... Greg On Mar 14, 9:26 am, John Warburton wrote: > On 14 M

Re: [Puppet Users] puppet eating solaris 10 crontab for lunch

2012-03-13 Thread John Warburton
On 14 March 2012 09:16, Romeo Theriault wrote: > Here are the logs the solaris 10 box returns after it's crontab gets > destroyed: > > ERR Puppet Could not prefetch cron provider 'crontab': Could not read > crontab for root: No child processes > NOTICE /Stage[main]/Puppet/Cron[puppet]/ensur

Re: [Puppet Users] Re: puppetlabs-firewall stages and persistence

2012-03-13 Thread Ken Barber
This ordering behaviour is as you state, and the numbers in the namevar are ultimately for how they get ordered in the file ruleset as you state - but not what order they are _inserted_. Ideally it would be great to have insertion order and order in the firewall list to be the same - but this doesn

[Puppet Users] puppet eating solaris 10 crontab for lunch

2012-03-13 Thread Romeo Theriault
Ugh, this isn't a nice bug to find out about. Just found out that on a few of our Solaris 10 global zones, puppet is destroying the crontab entry of the root user. It seems to be related to a hang in facter. I'm not 100% sure, but it seems the issue is occurring when facter runs 'prtdiag' on the ho

[Puppet Users] Security Opportunity

2012-03-13 Thread Jennifer Gandy
I am working on a role that is a hybrid of Security testing and DevOps specifically related to Puppet. Please let me know if anyone is interested in learning more. Thanks, Jennifer Gandy -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post

Re: [Puppet Users] Re: vhost creation with and without ssl

2012-03-13 Thread Peter Horvath
But still the problem with include that it includes the directory creation class once so it creates only the first docroot directory. and the directory for test2 and test3 will not be created. Can you help me a way around this? On 13 March 2012 20:32, Peter Horvath wrote: > I moved out the direc

[Puppet Users] Re: Creating multiple resources from an array

2012-03-13 Thread jcbollinger
And tell Barney I said "hey." -- 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 to puppet-users+unsubscr...@googlegroups.com. For more

[Puppet Users] Re: Creating multiple resources from an array

2012-03-13 Thread jcbollinger
On Mar 13, 11:28 am, Andy Taylor wrote: > Hi, > > I'm currently trying to write a module to manage Squid, including the > SSL certificates it uses. Sometimes you want Squid to listen on > multiple IPs with multiple certificates, so I'm trying to get Puppet > to push the certificates to the nodes

Re: [Puppet Users] Re: puppetlabs-firewall stages and persistence

2012-03-13 Thread Christian McHugh
In the pre main stage I have defined rules to allow outbound and allow related and established. In the post main stage, it does a drop all. Before this was organized into stages, occasionally the drop all would get applied before keep established and allow outbound, and thus the client could los

[Puppet Users] Re: puppetlabs-firewall stages and persistence

2012-03-13 Thread Christian McHugh
I appreciate the interest but I don't understand how you can tell me you don't have any experience with the module but yet know that I'm doing it wrong. The puppetlabs firewall module does not have classes or anything else to base a dependency on. I agree, I would rather not use stages, which i

Re: [Puppet Users] Re: puppetlabs-firewall stages and persistence

2012-03-13 Thread Mohamed Lrhazi
The numbering in the firewall resource names is not meant for ordering their executing, but for guaranteeing their uniqueness. I too found that using stages is the only usable way out of this. Just out of curiosity, what do you mean by: > We ended > up in situations where the drop rules would ki

Re: [Puppet Users] restarting the smf services on solaris 10

2012-03-13 Thread Mohamed Lrhazi
Maybe you could test setting the start command of that service explicitly to be: /usr/sbin/svcadm disable myservice && /usr/sbin/svcadm enable myservice http://docs.puppetlabs.com/references/stable/type.html#service Mohamed. On Tue, Mar 13, 2012 at 3:03 PM, Afroz Hussain wrote: > Hi, > > Is

Re: [Puppet Users] Use onlyif in EXEC

2012-03-13 Thread Mohamed Lrhazi
You might want to rephrase your question, as it is not obvious, at least not to me. Mohamed. On Tue, Mar 13, 2012 at 4:26 PM, Trammael wrote: > > > On Monday, March 12, 2012 5:52:53 PM UTC-5, ed209 wrote: >> >> Checkout the 'creates' property, it seems like a cleaner way of doing >> this: >> >>

[Puppet Users] Re: vhost creation with and without ssl

2012-03-13 Thread Peter Horvath
I moved out the directory creations into a different class and included that class and it is working now. On Mar 13, 8:05 pm, Peter Horvath wrote: > Hello, > > I have this defined resource type which is working perfectly until I > want an ssl an http vhost pointing to the same directory in which

Re: [Puppet Users] Use onlyif in EXEC

2012-03-13 Thread Trammael
On Monday, March 12, 2012 5:52:53 PM UTC-5, ed209 wrote: > > Checkout the 'creates' property, it seems like a cleaner way of doing this: > > http://docs.puppetlabs.com/references/2.6.8/type.html#exec > Pardon the newbie question, but does work on or de-reference symlinks? Cheers. -- You recei

[Puppet Users] vhost creation with and without ssl

2012-03-13 Thread Peter Horvath
Hello, I have this defined resource type which is working perfectly until I want an ssl an http vhost pointing to the same directory in which case the unique $servername variable became a singleton Do you have any idea how to get around this? I am pretty tired at the moment and cant think of any g

[Puppet Users] restarting the smf services on solaris 10

2012-03-13 Thread Afroz Hussain
Hi, Is there any way to restart a service based on the status of the service using Puppet service resource? I want to check the status of the service first then disable it , and make sure that the service has disable successfully then start the service. Any help will be appreciated. Thanks in ad

Re: [Puppet Users] Use onlyif in EXEC

2012-03-13 Thread Douglas Brancaglion
Tks guys!! It's ok! On 03/12/2012 07:52 PM, Doug Chapman wrote: Checkout the 'creates' property, it seems like a cleaner way of doing this: http://docs.puppetlabs.com/references/2.6.8/type.html#exec On Mon, Mar 12, 2012 at 12:23 PM, Douglas Brancaglion mailto:douglas.rea...@gmail.com>> wr

[Puppet Users] Re: Puppet Master server migration and problem? 2.6 to 2.7

2012-03-13 Thread MF
Thanks for taking the time to respond, but I just figured out I had a typo in my puppet.conf file. What a difference a day makes. On Mar 13, 9:20 am, Nan Liu wrote: > On Mon, Mar 12, 2012 at 5:22 PM, MF wrote: > > Hello, > > > I am setting up a new master server and migrating my configuration >

Re: [Puppet Users] Re: CentOS 5 packages in EPEL are outdated ?

2012-03-13 Thread Michael Stahnke
Use the Puppet Labs repo, http://yum.puppetlabs.com it will always be updated. It does not require EPEL or any other repository for functionality. Mike -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to pup

[Puppet Users] Announcing stdlib module 2.3.0

2012-03-13 Thread Jeff McCune
Hello, We're pleased to announce the release of the stdlib module at version 2.3.0 [1]. This feature release is fully backwards compatible with all previous releases of the stdlib module since version 2.0.0 and is tested to work with Puppet 2.6 and 2.7. The stdlib module follows semver.org guide

[Puppet Users] Creating multiple resources from an array

2012-03-13 Thread Andy Taylor
Hi, I'm currently trying to write a module to manage Squid, including the SSL certificates it uses. Sometimes you want Squid to listen on multiple IPs with multiple certificates, so I'm trying to get Puppet to push the certificates to the nodes and configure Squid accordingly. I've run into a pro

[Puppet Users] Puppet Labs Monthly Newsletter - March 2012

2012-03-13 Thread Michelle Carroll
* PUPPET LABS MONTHLY NEWSLETTER - MARCH 2012 ** Getting Started With Puppet **Weekly Webinar: Ask Your Puppet Enterprise Questions. Get a Live Management demo, and

Re: [Puppet Users] Puppet Master server migration and problem? 2.6 to 2.7

2012-03-13 Thread Nan Liu
On Mon, Mar 12, 2012 at 5:22 PM, MF wrote: > Hello, > > I am setting up a new master server and migrating my configuration > from my current master server.  I am also upgrading from 2.6 to 2.7. > I have the new server built and integrated with Apache, Passenger, and > Dashboard just like on my cur

Re: [Puppet Users] Can't send certificate request

2012-03-13 Thread Nan Liu
On Tue, Mar 13, 2012 at 7:04 AM, Mike wrote: > I can't get a new client working with my puppet master. When I try to run > 'puppet agent --test' on the client, I get > > err: Could not request certificate: Connection refused - connect(2) > Exiting; failed to retrieve certificate and waitforcert is

[Puppet Users] Re: Puppet Master server migration and problem? 2.6 to 2.7

2012-03-13 Thread MF
Thanks. I tried to touch sites.pp and nodes.pp but still no luck. On Mar 12, 5:32 pm, vagn scott wrote: > On 03/12/2012 08:22 PM, MF wrote: > > > > > > > > > Hello, > > > I am setting up a new master server and migrating my configuration > > from my current master server.  I am also upgrading fr

[Puppet Users] Re: Can't send certificate request

2012-03-13 Thread Mike
I think I've found the solution. I'm not sure what the original root issue was, but at some point during the troubleshooting process, I cleared out the certs on the puppet master server. This was preventing pe-httpd from starting. Once I restored the certs, pe-httpd could start, and everything

Re: [Puppet Users] Can't send certificate request

2012-03-13 Thread Mike
I tried that command as you suggested. As far as I can tell, it didn't give me much useful information. Here is what it had: debug: Failed to load library 'selinux' for feature 'selinux' debug: Puppet::Type::User::ProviderLdap: true value when expecting false debug: Puppet::Type::User::ProviderDi

Re: [Puppet Users] puppet-dashboard running on puppet-server (SL6)

2012-03-13 Thread Arnau Bria
On Tue, 13 Mar 2012 10:20:37 -0400 Peter Bukowinski wrote: Hi Peter, > This is documented here: > http://docs.puppetlabs.com/dashboard/manual/1.2/bootstrapping.html#starting-and-managing-delayed-job-workers Thanks a lot, I can't figure out how I did not see that part of the doc. Cheers, Arnau

AW: [Puppet Users] Can't send certificate request

2012-03-13 Thread Bernd Adamowicz
Try puppet agent --verbose --debug --server your.server --environment your_env --waitforcert 60 --no-daemonize Bernd Von: puppet-users@googlegroups.com [mailto:puppet-users@googlegroups.com] Im Auftrag von Bernd Adamowicz Gesendet: Dienstag, 13. März 2012 15:54 An: 'puppet-users@googlegroups

AW: [Puppet Users] Can't send certificate request

2012-03-13 Thread Bernd Adamowicz
Von: puppet-users@googlegroups.com [mailto:puppet-users@googlegroups.com] Im Auftrag von Mike Gesendet: Dienstag, 13. März 2012 15:04 An: puppet-users@googlegroups.com Betreff: [Puppet Users] Can't send certificate request I can't get a new client working with my puppet master. When I try to r

Re: [Puppet Users] puppet-dashboard running on puppet-server (SL6)

2012-03-13 Thread Peter Bukowinski
On Mar 13, 2012, at 9:37 AM, Arnau Bria wrote: > Hi all, > > I've installed a new puppet-server and I wanted to add > puppet-dash-board for reports (only). > > # rpm -qa|grep puppet|sort > puppet-2.7.11-2.el6.noarch > puppet-dashboard-1.2.6-1.el6.noarch > puppet-server-2.7.11-2.el6.noarch > >

[Puppet Users] Can't send certificate request

2012-03-13 Thread Mike
I can't get a new client working with my puppet master. When I try to run 'puppet agent --test' on the client, I get err: Could not request certificate: Connection refused - connect(2) Exiting; failed to retrieve certificate and waitforcert is disabled I can't telnet from the client to the serv

[Puppet Users] puppet-dashboard running on puppet-server (SL6)

2012-03-13 Thread Arnau Bria
Hi all, I've installed a new puppet-server and I wanted to add puppet-dash-board for reports (only). # rpm -qa|grep puppet|sort puppet-2.7.11-2.el6.noarch puppet-dashboard-1.2.6-1.el6.noarch puppet-server-2.7.11-2.el6.noarch So, I've followed http://docs.puppetlabs.com/dashboard/manual/1.2/boot

[Puppet Users] Re: Can't sign certificate

2012-03-13 Thread Kkweit
Sorry for not responding since a long time. I still have the same problem. I checked the clocks by running: "/usr/sbin/ntpdate fr.pool.ntp.org" on client and server. I just did noticed that my are not under debian lenny but under ubuntu 8.04 for my server and ubuntu 10.04 for my new client. All

[Puppet Users] Re: CentOS 5 packages in EPEL are outdated ?

2012-03-13 Thread thinkwell
Use the rpmforge repos. That version is 2.7.9 http://wiki.centos.org/AdditionalResources/Repositories/RPMForge#head-5aabf02717d5b6b12d47edbc5811404998926a1b On Tuesday, March 13, 2012 5:29:54 AM UTC-4, Julien C. wrote: > > Answering to myself: no 2.6.14 doesn't send reports. > I'll have a look at

Re: [Puppet Users] Puppet on OpenSuSE & SLES

2012-03-13 Thread Julien C.
Or fallback to 2.7.9 maybe ? Le mardi 13 mars 2012 12:48:37 UTC+1, Ygor a écrit : > > You mean like 2.7.12 that was just announced ? > > http://www.mail-archive.com/puppet-users@googlegroups.com/msg29190.html > > :) > > - Julien C. wrote: > > By the way, I just noticed the version in your rep

[Puppet Users] Re: Puppet dns requests

2012-03-13 Thread jcbollinger
On Mar 12, 3:06 pm, Hugo Deprez wrote: > Thank you for the answer guys. > > I am currently migrating all the server on Debian Squeeze with  puppet 2.6.2 > I'll consider migrating to your packages repository. > > For the number of DNS requests, that's not an issue, I was just having a > look at t

Re: [Puppet Users] Puppet on OpenSuSE & SLES

2012-03-13 Thread Dan White
You mean like 2.7.12 that was just announced ? http://www.mail-archive.com/puppet-users@googlegroups.com/msg29190.html :) - Julien C. wrote: > By the way, I just noticed the version in your repo is 2.7.10, which > shouldn't be used according to puppetlabs. > Any chance you can make the tim

Re: [Puppet Users] Puppet on OpenSuSE & SLES

2012-03-13 Thread Julien C.
By the way, I just noticed the version in your repo is 2.7.10, which shouldn't be used according to puppetlabs. Any chance you can make the time to push a new version ? Le lundi 12 mars 2012 15:26:19 UTC+1, Darin Perusich a écrit : > > You can still build for unsupported SuSE distro's via the bui

[Puppet Users] Re: CentOS 5 packages in EPEL are outdated ?

2012-03-13 Thread Julien C.
Answering to myself: no 2.6.14 doesn't send reports. I'll have a look at yum.puppetlabs.com Le mardi 13 mars 2012 10:16:11 UTC+1, Julien C. a écrit : > > Hi, > > I tried using EPEL repositories as stated here: > http://projects.puppetlabs.com/projects/puppet/wiki/Puppet_Red_Hat_Centos > The Puppe

[Puppet Users] CentOS 5 packages in EPEL are outdated ?

2012-03-13 Thread Julien C.
Hi, I tried using EPEL repositories as stated here: http://projects.puppetlabs.com/projects/puppet/wiki/Puppet_Red_Hat_Centos The Puppet version there is 2.6.14 or did I miss something? My concern is: will I have reports with that version? I'm using dashboard to keep an eye on my deployment and

Re: [Puppet Users] Database and user not created (Puppetlabs mysql module)

2012-03-13 Thread Moteo Air
Hi, still no tiny step forward :( >From puppet agent log: moteo@myHOST:~$ sudo puppet agent --no-daemonize --onetime --debug --verbose | grep ysql debug: /Stage[main]//Node[myHOST]/Php::Module[mysql]/Package[php-mysql]/notify: subscribes to Service[apache] debug: /Stage[main]/Mysql::Config/File[

Re: [Puppet Users] Hiera and Nodeless Puppet HELP

2012-03-13 Thread Jan Ivar Beddari
On 02. mars 2012 14:15, Daysmen wrote: Hi Folks To begin with i am looking to deploy a completely new puppet config based on the truth module https://github.com/jordansissel/puppet-examples/tree/master/nodeless-puppet/modules/truth Just a general comment of nodeless Puppet and the truth-enfor