Re: [Puppet Users] MCollective not all nodes answer to commands when using aes_security plugin

2012-06-08 Thread Martin Willemsma
I currently have two different MQ's running, one activeMQ running on a node and a rabbitMQ on a different one. If I switch my mcollective servers from one broker to another and do a 'mco ping' while the nodes are registering with the other broker I hit a threshold somewhere. Scenario: I start a

[Puppet Users] What permissions should these folders have?

2012-06-08 Thread Michael Altfield
Hi, Is there is an official Puppet stance on what the permissions of these files/directories should be on the Puppet Master? I'm looking for the minimum necessary permissions (ie: the most secure): 1. /etc/puppet/manifests 2. /usr/share/puppet 3. /usr/lib/ruby/gems/1.8/specifications/

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

2012-06-08 Thread Sans
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 start until I start it manually using puppetmasterd on the box. These are in the httpd_error log: [Fri Jun 08 19:24:06 2012] [notice] suEXEC mechanism ena

Re: [Puppet Users] Re: mysql or postgresql

2012-06-08 Thread Deepak Giridharagopal
On Tue, Jun 5, 2012 at 1:51 PM, akaroot wrote: > > > On 5 Чер, 22:16, Deepak Giridharagopal wrote: > > > Roughly how many facts per node are we talking about, here? I could try > > running some simulations and see what happens. > > > On average 80-90 facts per host, it's about 1500 inserts per s

[Puppet Users] Announce: puppetlabs_spec_helper 0.1.0 Available

2012-06-08 Thread Branan Purvine-Riley
puppetlabs_spec_helper is a Rubygem to make writing and running module spec tests using rspec-puppet easier. It includes a set of common rake tasks and a spec_helper that correctly initializes puppet and rspec-puppet for testing. The code is available on github at http://github.com/puppetlabs/pupp

Re: [Puppet Users] Re: Dealing with multiple gid changes

2012-06-08 Thread vagn scott
On 06/08/2012 09:06 AM, jcbollinger wrote: On Jun 7, 8:29 am, Jistan Idiot wrote: So I discovered yesterday that if puppet changes the gid of a group it doesn't go through the file system and update them with the new correct gid (at least this was the case on RHEL5 and client puppet v2.6.1

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

2012-06-08 Thread Michael Stahnke
If you really want to use Oracle java, see this: http://docs.puppetlabs.com/pe/2.5/install_basic.html#vendor-packages On Fri, Jun 8, 2012 at 8:16 AM, Scott wrote: > > Jeeva gmail.com> writes: > >> >> Hi, >> >>  I was trying to instal puppet-enterprise-2.5.1-el-5-x86_64 in centos6 >> machine

Re: [Puppet Users] rubycas-server login fail

2012-06-08 Thread Jeff McCune
Could you post the trace of the error and some entries from the logs? How did you track it down to here? -Jeff On Friday, June 8, 2012, Pavel Drobushevich wrote: > Hi all, > > I've installed Puppet Enterprise 2.5 on Ubuntu 10.04.4 ("minimal" version > on our new hosting provider, previous on am

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

2012-06-08 Thread Jo Rhett
Check ownership of config.ru. Passenger runs based on the owner of that file. On Jun 8, 2012, at 1:40 AM, ankush grover wrote: > Hi Friends, > > I am trying to run puppet with apache on Centos 6.2. 64-bit (with > selinux off) but it seems apache is refusing to read the pem file of > puppet. Belo

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

2012-06-08 Thread Scott
Jeeva gmail.com> writes: > > Hi, > > I was trying to instal puppet-enterprise-2.5.1-el-5-x86_64 in centos6 > machine. But got below error. > > ## Installing packages from files... > error: Failed dependencies: > java >= 1.5.0 is needed by pe- > tanukiwrapper-3.5.9-5.pe.el5.x86_64 >

Re: [Puppet Users] Re: resource override

2012-06-08 Thread Papp Tamas
On 06/01/2012 04:34 PM, jcbollinger wrote: Sorry about the late answer. 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 . Puppet's autoloader

[Puppet Users] Re: Dealing with multiple gid changes

2012-06-08 Thread jcbollinger
Oops, sorry for the no-added-content post. What I meant to say was: On Jun 7, 8:29 am, Jistan Idiot wrote: > So I discovered yesterday that if puppet changes the gid of a group it > doesn't go through the file system and update them with the new correct gid > (at least this was the case on RHEL5

[Puppet Users] Re: MySQL settings for puppet dashboard

2012-06-08 Thread Kai
Problem is a result of sql_mode = TRADITIONAL. Is there any workaround for this problem? -- 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/-/icMIbxPhmZoJ. To p

[Puppet Users] Re: Question regarding variables

2012-06-08 Thread earthgecko
Possibly the templates in question are being evaluated before the module_vars.pp Check the master log for something like: "Could not look up qualified variable 'module::module_vars::var'; class module has not been evaluated" G -- You received this message because you are subscribed to the Goog

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

2012-06-08 Thread Felix Frank
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. Yes, you can specify before, requires etc. to all instances of

[Puppet Users] Re: Problems connecting to puppet master

2012-06-08 Thread Jon Skarpeteig
Another problem on the same server, after attempting to reset ssl certs: err: Could not retrieve catalog from remote server: Error 400 on SERVER: Got 2 failure(s) while initializing: change from root to puppet failed: Failed to set owner to '111': Operation not permitted - /var/log/puppet/rails.lo

[Puppet Users] Re: Dealing with multiple gid changes

2012-06-08 Thread jcbollinger
On Jun 7, 8:29 am, Jistan Idiot wrote: > So I discovered yesterday that if puppet changes the gid of a group it > doesn't go through the file system and update them with the new correct gid > (at least this was the case on RHEL5 and client puppet v2.6.16 and > puppetmaster 2.7.12).  Now I though

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

2012-06-08 Thread jcbollinger
On Jun 7, 8:45 am, Andrei-Florian Staicu wrote: > On Thu, Jun 7, 2012 at 4:03 PM, jcbollinger wrote: [...] > > This is what resource relationships are for.  A good use in this case > > would be for each declaration of a network::device instance to specify > > a 'before' parameter.  For example,

[Puppet Users] rubycas-server login fail

2012-06-08 Thread Pavel Drobushevich
Hi all, I've installed Puppet Enterprise 2.5 on Ubuntu 10.04.4 ("minimal" version on our new hosting provider, previous on amazon ec2 all works fine). So couldn't login to puppet dashboard - internal server error. I found problem in rubycas-server. It fails when try to hash password: (/opt/pupp

[Puppet Users] Re: Conditional based on other module

2012-06-08 Thread Andy Taylor
Thanks for the advice (again!) John. I'd like to avoid the restrictions that the subclass would cause, so will probably just create a separate environment and change the port based on that. Thanks for distinguishing parsed and applied, was getting a bit mixed up I think. Andy On Jun 7, 3:04 pm, j

[Puppet Users] Problems connecting to puppet master

2012-06-08 Thread Jon Skarpeteig
As root I executed: puppet agent --test --server myserver.domain info: Retrieving plugin err: /File[/var/lib/puppet/lib]: Failed to generate additional resources using 'eval_generate': Error 400 on SERVER: Not authorized to call search on /file_metadata/plugins with {:checksum_type=>"md5", :ignore

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

2012-06-08 Thread ankush grover
Adding puppet in /etc/hosts solved the problem 172.31.0.92 ezepuppet.synapse.ar.pem puppet On Fri, Jun 8, 2012 at 2:10 PM, ankush grover wrote: > Hi Friends, > > I am trying to run puppet with apache on Centos 6.2. 64-bit (with > selinux off) but it seems apache is refusing to read the pem file

[Puppet Users] Re: how to avoid ssh_authorized_key duplicates ?

2012-06-08 Thread eduardo
Hi Felix, yes, I'm trying to reading authorized key files to check new line. thanks for explain me it's a wrong way. Finally, i realize about key name content (comment) is essencial and tests are good. I appreciate your help, regards, eduardo. On 8 jun, 03:55, Felix Frank wrote: > Hi

Re: [Puppet Users] types and even class not being found sometimes.

2012-06-08 Thread Steve Traylen
On Friday, 8 June 2012 09:49:35 UTC+2, Felix.Frank wrote: > > Hi, > > On 06/08/2012 12:38 AM, Steve Traylen wrote: > > err: Could not retrieve catalog from remote server: Error 400 on > > SERVER: Cannot find definition Lemon::Metric at > > /etc/puppet/environments/master/modules/lemon/manifes

Re: [Puppet Users] MCollective not all nodes answer to commands when using aes_security plugin

2012-06-08 Thread R.I.Pienaar
- Original Message - > From: "Martin Willemsma" > To: puppet-users@googlegroups.com > Sent: Friday, June 8, 2012 7:11:39 AM > Subject: Re: [Puppet Users] MCollective not all nodes answer to commands when > using aes_security plugin > > Thanks for your response. > One thing I noticed wh

Re: [Puppet Users] certname=hostname SSL errors

2012-06-08 Thread Andrei-Florian Staicu
On Fri, Jun 8, 2012 at 11:54 AM, Felix Frank wrote: > Hi, > > On 06/08/2012 10:50 AM, Andrei-Florian Staicu wrote: >> so I redeployed the >> puppet.conf file, re-generated the certificates and signed them, and >> removed the old certificates from the master. >> >> However, puppet agent --test work

[Puppet Users] MySQL settings for puppet dashboard

2012-06-08 Thread Kai
Hello Group, I have a problem with pending tasks in puppet-dashboard after I set the MySQL parameter autocommit = 0 and sql_mode = TRADITIONAL. Does the dashboard need autocommit to be enabled? Workers are running: env RAILS_ENV=production script/delayed_job status delayed_job: running [

Re: [Puppet Users] certname=hostname SSL errors

2012-06-08 Thread Felix Frank
Hi, On 06/08/2012 10:50 AM, Andrei-Florian Staicu wrote: > so I redeployed the > puppet.conf file, re-generated the certificates and signed them, and > removed the old certificates from the master. > > However, puppet agent --test works ok. are you running in agent mode (as opposed to cron)? Ha

[Puppet Users] certname=hostname SSL errors

2012-06-08 Thread Andrei-Florian Staicu
Hi all, I ran into the following problem: Until now, i used fqdn as certname (i.e. had no certname defined in puppet.conf, so defaults applied) and everything worked fine. However, I wanted to use tthe short hostname as certname, so I redeployed the puppet.conf file, re-generated the certificates

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

2012-06-08 Thread ankush grover
Hi Friends, I am trying to run puppet with apache on Centos 6.2. 64-bit (with selinux off) but it seems apache is refusing to read the pem file of puppet. Below are the errors I am getting in the apache logs. Puppetmaster is working fine without Apache. The same setup is working fine with (Puppet

Re: [Puppet Users] Re: how to avoid ssh_authorized_key duplicates ?

2012-06-08 Thread Felix Frank
Hi again, On 06/08/2012 02:26 AM, eduardo wrote: > To be more clear, I'm trying to allow the same key for diferents > users but also, tests are tell me that ssh_authorized_key > functionality always add keys without any previous check of authorized > file contents so If the key was there it's ins

Re: [Puppet Users] types and even class not being found sometimes.

2012-06-08 Thread Felix Frank
Hi, On 06/08/2012 12:38 AM, Steve Traylen wrote: > err: Could not retrieve catalog from remote server: Error 400 on > SERVER: Cannot find definition Lemon::Metric at > /etc/puppet/environments/master/modules/lemon/manifests/standard.pp:53 > on node lxfssm4308.cern.ch I get the pretty often duri