[Puppet Users] Re: wrong nodes.pp being accessed by the client

2011-07-14 Thread PBWebGuy
Also you should specify the environments that the master supports: [master] # Environments that are defined for this PuppetMaster environments=development,main HTH, John -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this

[Puppet Users] Re: puppet custom fuction run as user pupprt?

2011-07-14 Thread PBWebGuy
John, You bring up a good point and I wanted to ask this question anyways. To the best of my knowledge, functions run on the master and facts run on the node. If that is the case, it perplexes me that functions get sync'd to the node in the /var/lib/puppet/lib... directory. That is unless functi

[Puppet Users] Re: Puppet 2.6.x fate

2011-07-14 Thread PBWebGuy
Hi Mike, I wanted to comment on bug http://projects.puppetlabs.com/issues/7680 which is a regression introduced in 2.6.8. I recently ran into this issue and had to downgrade to 2.6.7 from 2.6.8. When I discovered the issue I tried upgrading to 2.6.9 and it was still an issue. The problem is sim

[Puppet Users] How to use notify to invoke something prior to a change

2011-07-14 Thread PBWebGuy
I have a Chicken and Egg scenario here and trying to come up with a way to solve it. I have a mount definition that manages mount points. The problem arises when the mount point changes after it is in use. Case in point, we have mount points for the mysql data and logs directories. If we change

[Puppet Users] Using require and notify across class resources cause a dependency cycle

2011-06-22 Thread PBWebGuy
I have a simple sample below that illustrates a problem I ran into today. What I am trying do is execute a command only if another class, that which is dependent on it's class, triggers the command with a notify. I'm using the refreshonly => true to prevent it from running unless something trigge

[Puppet Users] No matching value for selector param '1' with case and ? statements

2011-06-06 Thread PBWebGuy
I have been getting an error message " No matching value for selector param '1'" when ever I use the following code in a class. What is strange is if I run the code directly with "puppet -v filename" where the code is in the filename or I stick the code in the nodes.pp file it works perfectly. Wh

[Puppet Users] Re: Should puppet manage its own client configs?

2011-06-06 Thread PBWebGuy
Felix, Would you mind sharing how you implemented the process to restart Puppet after an update? Thanks, John On May 24, 6:34 am, Felix Frank wrote: > On 05/24/2011 12:29 PM, Jonathan Gazeley wrote: > > >> If youmanageto deploy an utterly broken config,puppetwon't be able > >> to get itself ba

[Puppet Users] ralsh - unable to pass alias array for host resource

2011-05-31 Thread PBWebGuy
I'm trying create an entry in the /etc/hosts file but when trying to use the 'alias' parameter I'm getting a munge error because it can't parse the array passed from the command-line. I've tried all sorts of ways to define the array but nothing seems to work. Does anyone know how to define the ar

[Puppet Users] Re: Puppetmaster and Passenger3

2011-05-13 Thread PBWebGuy
What would your recommended versions be or what are the ones that you are presently successful with? Can you list your configured stack? I'm currently on Puppet 2.6.4 but could back down if necessary. I have not been successful with getting Passenger (3.0.7) working with Puppet. Thanks, John

[Puppet Users] Passenger issues running Puppet

2011-05-11 Thread PBWebGuy
I have been through all of the instructions for setting up a PuppetMaster using Passenger. At the present time, when I access Passenger I receive the Passenger Error page with the message "The application has exited during startup (i.e. during the evaluation of config/environment.rb)". I've looke

[Puppet Users] Re: Passenger Error "during the evaluation of config/environment.rb"

2011-05-09 Thread PBWebGuy
h those versions ofpassenger/rake but > they appear high to me. > > I use 2.1x ofpassengerand 1.1 of rake (cant remember exact versions). Higher > versions did not work. > > This may or may not be your particular issue as I currently run 2.6.4 of > puppet. > > Cheers, &

[Puppet Users] Passenger Error "during the evaluation of config/environment.rb"

2011-05-04 Thread PBWebGuy
I have been through all of the instructions for setting up a PuppetMaster using Passenger. At the present time, when I access Passenger I receive the Passenger Error page with the message "The application has exited during startup (i.e. during the evaluation of config/environment.rb)". I've looke

[Puppet Users] Re: Puppet Module Repository

2010-11-10 Thread PBWebGuy
This is not exactly what you're looking for but may be a solution. We are using the multiple environment functionality (http:// projects.puppetlabs.com/projects/1/wiki/Using_Multiple_Environments) to manage version control to prevent changes from impacting production while we're implementing and t

[Puppet Users] Re: Could not retrieve catalog from remote server - random

2010-11-10 Thread PBWebGuy
After 6 hours of troubleshooting, we found that there was a process (Alfresco/Tomcat) running on the node that was consuming large amounts of the CPU. Running 'top', there was a sustained load of 2.x. As soon as I killed the process, Puppet started running perfectly! This node is a VM in a VMWar

[Puppet Users] Re: Could not retrieve catalog from remote server - random

2010-11-10 Thread PBWebGuy
I have continued troubleshooting this and have gone as far as: 1. Removed all code from the nodes.pp for this particular node. 2. Deleted the /var/lib/puppet directory on the node and resigned with the PM. Note that the signing failed repeatedly as well where the PM did not report any messages i

[Puppet Users] Re: Could not retrieve catalog from remote server - random

2010-11-10 Thread PBWebGuy
> Make sure that you get output from the puppetmaster for some things. It's > easy to look at the wrong log if you are using passenger. > > I've seen a similar error problem when the puppetmaster is overloaded so the > client times out. For me, this is when It gets all 50 clients ask for a > c

[Puppet Users] Re: Could not retrieve catalog from remote server - random

2010-11-10 Thread PBWebGuy
A few more findings: 1. I removed the /var/lib/puppet/clientbucket and ran update manually it worked one time. Repeating this does not work. 2. Here is the Trace of the puppetd command: /usr/lib/ruby/1.8/net/http.rb:586:in `connect' /usr/lib/ruby/1.8/net/http.rb:586:in `connect' /usr/lib/ruby/1

[Puppet Users] Re: Could not create PID file: /var/lib/puppet/run/puppetd.pid

2010-11-10 Thread PBWebGuy
What is the contents of your /etc/puppet/puppet.conf and what are the permissions on the /var/lib/puppet/run directory? -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-us...@googlegroups.com. To unsubs

[Puppet Users] Re: Could not retrieve catalog from remote server - random

2010-11-10 Thread PBWebGuy
Let me also add that I have several servers that have the same exact "role" in their node definitions and don't have any problem with updates. On Nov 10, 11:40 am, PBWebGuy wrote: > I have one of 18+ servers in an environment that just started having a > problem when attem

[Puppet Users] Could not retrieve catalog from remote server - random

2010-11-10 Thread PBWebGuy
I have one of 18+ servers in an environment that just started having a problem when attempting to do an update. On the node I enter the command 'puppetd -t --debug --trace'. I don't see anything obvious but the error is: "Could not retrieve catalog from remote server" I set the puppetmaster in

[Puppet Users] Re: Strange problem with StoredConfigs overwriting files with old versions

2010-11-05 Thread PBWebGuy
hat I was never aware of. Regards, John On Nov 4, 1:58 pm, Joe McDonagh wrote: > On 11/04/2010 01:16 PM, PBWebGuy wrote: > > > We just ran into a condition when a templatized configuration file > > would get replaced with something that I had no clue where it came > > fro

[Puppet Users] Strange problem with StoredConfigs overwriting files with old versions

2010-11-04 Thread PBWebGuy
We just ran into a condition when a templatized configuration file would get replaced with something that I had no clue where it came from and the content is no where in the puppet source tree. On subsequent updates the proper file would appear. I've been able to consistently reproduce the probl

[Puppet Users] Re: Automated installation of Puppetmaster and Dashboard

2010-06-17 Thread PBWebGuy
Hi Bryan, I was just looking over your puppet-puppet recipe and I was curious on how you are managing your different target environments. I see that you have defined different trees for each environment: [development] manifest = /etc/puppet/environments/development/site.pp modulepath = /e

[Puppet Users] Augeas problem changing values in postfix/main.cf

2010-06-17 Thread PBWebGuy
I have been working with the Augeas resource command and having a difficult time. At this point I am perplexed as to why the following code doesn't work. I have the following rule for updating the main.cf file to change an existing value and to add a new element with comments: augeas { "