[Puppet Users] Re: Duplicate package resource solutions?

2012-06-11 Thread Paul Tötterman
Hi Ryan, > I searched through the forum and found a few related threads but no clear > puppet sanctioned solution. We have several modules that require the same > package, for example rsync or gcc. We usually solve these conflicts by > making that package a standalone module. We don't want to

Re: [Puppet Users] Python Puppet YAML Report Parser

2012-06-11 Thread Felix Frank
On 06/09/2012 10:58 AM, ollies...@googlemail.com wrote: > Hello, > > A quick search showed some people may have got this working. Anyone got > a Python (or Perl) script to parse the Puppet reports and put them into > a human > readable format ? > > Might be able to knock something together myself

[Puppet Users] How should I run/start puppetmaster using Apache/Passenger??

2012-06-11 Thread Sans
Dear all, I'm still trying to understand how this Apache/Passenger thing works. Running Puppet v2.7.14 on CEntOs 6 and also using Apache/Passenger instead of WEBrick. I was told that *puppetmaster* service is not required to be running (hence: chkconfig off puppetmaster) running when using htt

Re: [Puppet Users] How should I run/start puppetmaster using Apache/Passenger??

2012-06-11 Thread Denmat
Hi, Do you actually have an apache vhost configured for the puppet master? The doco here is pretty clear on what is needed: http://docs.puppetlabs.com/guides/passenger.html Have a look at the file here for an example of what the vhost should look like: https://github.com/puppetlabs/puppet/blob/m

[Puppet Users] i wanna knw abt resource management in cloud

2012-06-11 Thread lakshmipriya
hi i am new to this environment And i just finished learning the basics of cloud and i need to know about the resource management in cloud and techniques,issues involved... pls kindly help me to learn it in an easier way ..:( -- You received this message because you are subscribed to the Goo

[Puppet Users] Start puppet master

2012-06-11 Thread Dhaval
Hi, whenever i am starting puppet master after new installation it gives below messages .. /usr/lib/ruby/site_ruby/1.8/puppet/util/pidlock.rb:33:in `initialize': Permission denied - /var/lib/puppet/run/master.pid (Errno::EACCES) from /usr/lib/ruby/site_ruby/1.8/puppet/util/pidlock.rb:33

[Puppet Users] Re: What permissions should these folders have?

2012-06-11 Thread jcbollinger
On Jun 8, 7:43 pm, Michael Altfield wrote: > Hi, > > Is there is an official Puppet stance on what the permissions of these > files/directories should be on the Puppet Master? I've never seen one, but maybe the Enterprise group has unpublished recommendations. It probably depends to some exte

AW: [Puppet Users] Start puppet master

2012-06-11 Thread Bernd Adamowicz
Obviously the user which is executing the Puppet start command is not allowed to access the directory '/var/lib/puppet/run/' or the file '/var/lib/puppet/run/pidlock.rb'. Are you starting the master as root? If not, you should. If the problem persists, check the access rights and permissions of

[Puppet Users] Re: Java dependency error in puppet installation

2012-06-11 Thread jcbollinger
On Jun 8, 10:16 am, Scott wrote: > I am having the same issue and it seems that the puppet installer does > not look for a valid Sun/Oracle java installation. How do you get around > that problem aside from installing another java product. I have > installed the rpms from Oracle for the current

[Puppet Users] Re: resource override

2012-06-11 Thread jcbollinger
On Jun 8, 10:09 am, Papp Tamas wrote: > On 06/01/2012 04:34 PM, jcbollinger wrote: > > You didn't say what those modifications were, but probably they are > > what's killing you.  For the modules and classes in this example, > > If I see well, the only one is a node.pp imported from site.pp .

Re: AW: [Puppet Users] Start puppet master

2012-06-11 Thread Dhaval
Thanks Bernd, yes i am starting it with root and below are the permission for that directory. drwxr-xr-x 2 root root 4096 Jun 11 21:09 /var/lib/puppet/run/ eventhough after doing 777 it's giving same messages. Regards, Dhaval -- You received this message because you are subscribed to the Go

[Puppet Users] Re: Restart service on ensure running ; class dependecies

2012-06-11 Thread jcbollinger
On Jun 8, 8:10 am, Felix Frank wrote: > Hi, > > On 06/08/2012 03:03 PM, jcbollinger wrote: > > > The 'before' is a Puppet metaparameter, so every > > resource type provides it automatically; you would not need to write > > code for it in your definition. > > sadly, this is only half true. > > Ye

Re: AW: [Puppet Users] Start puppet master

2012-06-11 Thread Dhaval
Dhaval nomura.com> writes: > > Thanks Bernd, > > yes i am starting it with root and below are the permission for that directory. > > drwxr-xr-x 2 root root 4096 Jun 11 21:09 /var/lib/puppet/run/ > > eventhough after doing 777 it's giving same messages. > > Regards, > Dhaval > Ok it's reso

Re: [Puppet Users] file_line type issue, possible bug

2012-06-11 Thread Aaron Grewell
Depending on your sudo version you could also put snippets in /etc/sudoers.d. This has the advantage of allowing each class to manage its own sudoers file without any Puppet conflicts. On Jun 10, 2012 3:56 AM, "Ryan Bowlby" wrote: > Hi All, > > I am using the file_line type included in stdlib to

[Puppet Users] system users class hogging whole cpu

2012-06-11 Thread Azfar Hashmi
Hi, I have dozens of nodes but on one node the "system users class" is taking 100% cpu. I have no issue on other systems. When I disable this class the puppet client works fine. Tried reinstalling puppet from scratch but no avail. Any idea why it always hanging at this class? -- You received thi

Re: [Puppet Users] system users class hogging whole cpu

2012-06-11 Thread Peter Berghold
On Mon, Jun 11, 2012 at 11:46 AM, Azfar Hashmi wrote: Any idea why it always hanging at this class? Without some code to look at it would be hard for anybody to take a guess... Peter L. Berghold salty.cowd...@gmail.com http://blog.berghold.net “"If A equals success, then

Re: [Puppet Users] How should I run/start puppetmaster using Apache/Passenger??

2012-06-11 Thread Jeff McCune
On Mon, Jun 11, 2012 at 4:15 AM, Denmat wrote: > Hi, > > Do you actually have an apache vhost configured for the puppet master? Yeah, could you paste the apache configuration that's setting up the virtual host (vhost) and opening the socket on port 8140? Something like this (This is the Puppet E

Re: [Puppet Users] Basics of Cloud Computing

2012-06-11 Thread R. Tyler Croy
SPAMSPAMSPAMSPAMSPAM Not that my message is all that constructive either :) - R. Tyler Croy -- Code: http://github.com/rtyler Chatter: http://twitter.com/agentdero rty...@jabber.org pgpE0bPbSZKl3.pgp Description: PGP signature

[Puppet Users] "decryption failed or bad record mac" errors

2012-06-11 Thread maillists0
I inherited an old installation (0.24) that's been trouble-free until recently, when I started getting these error messages from a single machine: Failed to retrieve current state of resource: Certificates were not trusted: SSL_read:: decryption failed or bad record mac Could not describe /tomcat/

Re: [Puppet Users] "decryption failed or bad record mac" errors

2012-06-11 Thread Jeff McCune
On Mon, Jun 11, 2012 at 11:34 AM, wrote: > I inherited an old installation (0.24) that's been trouble-free until > recently, when I started getting these error messages from a single > machine: > > Failed to retrieve current state of resource: Certificates were not > trusted: SSL_read:: decryptio

[Puppet Users] Contributing pieces of a global value from multiple places

2012-06-11 Thread Michael Smith
Hi, I'm using Puppet to configure SuSEfirewall2. I have a class that lets me set a list of ports to open in a variable in /etc/sysconfig/SuSEfirewall2. It's just a wrapper around an Augeas resource. How can I make it so multiple classes can contribute a list of ports to my firewall class? Fo

Re: [Puppet Users] "decryption failed or bad record mac" errors

2012-06-11 Thread maillists0
: >> I inherited an old installation (0.24) that's been trouble-free until >> recently, when I started getting these error messages from a single >> machine: >> >> Failed to retrieve current state of resource: Certificates were not >> trusted: SSL_read:: decryption failed or bad record mac Could no

Re: [Puppet Users] How should I run/start puppetmaster using Apache/Passenger??

2012-06-11 Thread Sans
Hi Den, jeff, Sorry for my late reply. Yes, I do have puppetmaster-vost.conf and I've separated the passenger config file. So, this is what I have: > # */etc/httpd/conf.d/puppetmaster.conf * > > Listen 8086 > > > SSLEngine on > SSLProtocol -ALL +SSLv3 +TLSv1 > SSLCipherSuite

Re: [Puppet Users] "decryption failed or bad record mac" errors

2012-06-11 Thread Jeff McCune
It could be your CA certificate has expired. Could you paste the output of openssl x509 -text -noout -in /etc/puppet/ssl/ca.pem ? -- Jeff McCune On Monday, June 11, 2012 at 12:59 PM, maillis...@gmail.com wrote: > : > > > I inherited an old installation (0.24) that's been trouble-free until >

Re: [Puppet Users] "decryption failed or bad record mac" errors

2012-06-11 Thread maillists0
On Mon, Jun 11, 2012 at 4:50 PM, Jeff McCune wrote: > It could be your CA certificate has expired. Could you paste the output of > openssl x509 -text -noout -in /etc/puppet/ssl/ca.pem ? > > -- Thanks, Jeff. Since this is a work cert I'm not gonna post the whole thing, but I think this is the par

Re: [Puppet Users] How should I run/start puppetmaster using Apache/Passenger??

2012-06-11 Thread Jeff McCune
On Mon, Jun 11, 2012 at 1:49 PM, Sans wrote: > Hi Den, jeff, > Sorry for my late reply. > > Yes, I do have puppetmaster-vost.conf and I've separated the passenger > config file. So, this is what I have: I'd try and enable moer debugging information. It seems to me Puppet is refusing to start for

Re: [Puppet Users] How should I run/start puppetmaster using Apache/Passenger??

2012-06-11 Thread Jo Rhett
On Jun 11, 2012, at 1:49 PM, Sans wrote: > Yes, I do have puppetmaster-vost.conf and I've separated the passenger > config file. So, this is what I have: > (snip) > The only difference, what I can see, with Jeff is that I'm running Puppet on > port 8086. This port is also allowed in the iptables

Re: [Puppet Users] "decryption failed or bad record mac" errors

2012-06-11 Thread Jeff McCune
On Mon, Jun 11, 2012 at 2:10 PM, wrote: > On Mon, Jun 11, 2012 at 4:50 PM, Jeff McCune wrote: >> It could be your CA certificate has expired. Could you paste the output of >> openssl x509 -text -noout -in /etc/puppet/ssl/ca.pem ? >> >> -- > > Thanks, Jeff. > > Since this is a work cert I'm not g

Re: [Puppet Users] puppet module searches failing...

2012-06-11 Thread Pieter van de Bruggen
On Mon, Jun 11, 2012 at 1:18 PM, Peter Berghold wrote: > Hi folks, > > Peruse the following: > > [peter@chits1 ~]$ puppet module search nagios > Searching http://forge.puppetlabs.com ... > NAME DESCRIPTION AUTHOR > KEYWORDS > DavidSchmitt-nagiosConfigure nagi

Re: [Puppet Users] Re: Unable to run puppet with apache + passenger

2012-06-11 Thread ankush grover
Please check ownership of config.ru and also check whether there is entry for puppet in /etc/hosts file. On Sat, Jun 9, 2012 at 5:17 AM, Sans wrote: > I don't wanna hijack the thread but I'm also having almost the same issue. > For me httpd/passenger starts just fine but puppetmaster doesn't star

Re: [Puppet Users] system users class hogging whole cpu

2012-06-11 Thread David Schmitt
On 2012-06-11 17:46, Azfar Hashmi wrote: I have dozens of nodes but on one node the "system users class" is taking 100% cpu. I have no issue on other systems. When I disable this class the puppet client works fine. Tried reinstalling puppet from scratch but no avail. Any idea why it always hangin