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
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
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
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
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
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
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
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
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
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
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,
&
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
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
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
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
> 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
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
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
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
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
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
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
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
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 { "
24 matches
Mail list logo