Re: [Puppet Users] Re: properly removing dead hosts.

2009-11-23 Thread David Schmitt
Christian Hofstaedtler wrote: We have these stanzas in the manifest for the nagios server: 48resources { nagios_service: 49purge = true 50} 51resources { nagios_host: 52purge = true 53} 54

Re: [Puppet Users] Re: SSL Makes My Brain Bleed

2009-11-23 Thread Hubert Krause
Hello Mark Christian, Am Thursday 19 November 2009 03:10:38 schrieb Mark Christian: I am keen to get this to work, but can't seem to. Will this work with Mongrel and Apache as described at http://reductivelabs.com/trac/puppet/wiki/UsingMongrel ? Im using the EPEL puppet package versions

Re: [Puppet Users] Templates and loops..

2009-11-23 Thread Julian Simpson
2009/11/19 Christopher Johnston chjoh...@gmail.com: How come this doesnt work?  I write this in a normal ruby script it works just fine. % for cpu in (0..processorcount) % I want to loop through the number of processor so a specific action can be taken to generate content for a file. I get

Re: [Puppet Users] deprecation notice: Files found in modules without specifying 'modules' in file path

2009-11-23 Thread Andrew Schulman
I can't understand what this means. What does it mean, specifying 'modules' in file path? [...] file { /etc/firehol/firehol.conf: source = puppet:///firehol/firehol.conf } file { /etc/firehol/firehol.conf: source = puppet:///modules/firehol/firehol.conf } but as the

Re: [Puppet Users] deprecation notice: Files found in modules without specifying 'modules' in file path

2009-11-23 Thread James Turnbull
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Andrew Schulman wrote: I can't understand what this means. What does it mean, specifying 'modules' in file path? [...] file { /etc/firehol/firehol.conf: source = puppet:///firehol/firehol.conf } file { /etc/firehol/firehol.conf: source =

[Puppet Users] Re: {SPAM 05.5} SSH Keys

2009-11-23 Thread seph
You could do something with a define. But I'm not really sure what your use case is. Can you give an example? seph sysboy sys...@gmail.com writes: Hi all, I want to use puppet to distribute keys to multiple users. I wanted to do something like we have already: - define a key per real

Re: [Puppet Users] Usage of schedule

2009-11-23 Thread Thomas Bellman
mk wrote: What I want to do is puppet client( puppetd ) tries to syncronize /etc/ hosts permission as 644, and puppetd tries to check every 3 minutes. ( I know 3 min is so quick, this is just a test of schedule) So I wrote manifests/site.pp, node default { schedule { every3min:

Re: [Puppet Users] deprecation notice: Files found in modules without specifying 'modules' in file path

2009-11-23 Thread Andrew Dickson
when behavior in puppet changes, i think the docs would need to be updated by someone familiar with the changes. is it a good idea to just assume someone in the community will figure out the new behavior through experimentation and take it upon themselves to correct the docs? -drew On Mon, Nov

Re: [Puppet Users] Templates and loops..

2009-11-23 Thread Christopher Johnston
Its definitely there.. I even put a %= processorcount % to make sure the variable is set. % processorcount.to_i-1 % % for cpu in (0..processorcount) % Facter version is 1.52 # facter | grep proc processor0 = Intel(R) Xeon(R) CPU X5570 @ 2.93GHz processor1 = Intel(R) Xeon(R) CPU

Re: [Puppet Users] Usage of schedule

2009-11-23 Thread Christopher Johnston
I would like to schedule puppet to only run EVERYTHING once a day at a specific time, what would be the best approach to do that? -Chris On Mon, Nov 23, 2009 at 9:21 AM, Thomas Bellman bell...@nsc.liu.se wrote: mk wrote: What I want to do is puppet client( puppetd ) tries to syncronize

Re: [Puppet Users] Usage of schedule

2009-11-23 Thread Scott Smith
Christopher Johnston wrote: I would like to schedule puppet to only run EVERYTHING once a day at a specific time, what would be the best approach to do that? Use cron. -scott -- You received this message because you are subscribed to the Google Groups Puppet Users group. To post to this

Re: [Puppet Users] deprecation notice: Files found in modules without specifying 'modules' in file path

2009-11-23 Thread Andrew Schulman
The wiki is open sand editable all you need to do is sign-up for an account. OK. -- 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 unsubscribe from this group, send email to

Re: [Puppet Users] Re: passenger not accepting alternate config file

2009-11-23 Thread Nigel Kersten
On Sun, Nov 22, 2009 at 4:04 PM, John Warburton jwarbur...@gmail.com wrote: 2009/11/22 Scott Smith sc...@ohlol.net John Warburton wrote: Thanks Guys But it didn't seem to like ARGS. Is it set in rack or passenger or ?? Can I amp up the debugging here? Have you tried this? ARGV

[Puppet Users] Re: SSL Makes My Brain Bleed

2009-11-23 Thread Atha
Hi Mark, I can understand your frustration. We have been struggling with Puppet and SSL a lot lately. Our setup is similar but a bit more complicated so your scenario shouldn't pose any issues. Try this (assuming you are starting from scratch): 1. Start the production puppet master as usual. This

[Puppet Users] Shared database for storedconfigs?

2009-11-23 Thread Atha
Hi all, We have a clustered, per location puppet master setup, with multiple masters being able to serve any client at that location. We are about to enable storedconfigs. Is it possible to have all the masters at that each location share one database? Or does each master needs its own db? Being

[Puppet Users] Re: {SPAM 05.5} SSH Keys

2009-11-23 Thread sysboy
I currently have something set up for users like this: virt_users.pp class virt_my_users { @user { user1: ensure = present, uid = 1001, gid = users, comment = user1, home= /home/user1,

Re: [Puppet Users] deprecation notice: Files found in modules without specifying 'modules' in file path

2009-11-23 Thread James Turnbull
2009/11/24 Andrew Dickson d...@number88.com: when behavior in puppet changes, i think the docs would need to be updated by someone familiar with the changes. is it a good idea to just assume someone in the community will figure out the new behavior through experimentation and take it upon

Re: [Puppet Users] Re: SSL Makes My Brain Bleed

2009-11-23 Thread Peter Meier
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi 1. Start the production puppet master as usual. This will be your CA. 2. In your development puppet master, set ca = false and ca_server = production.hostname in puppet.conf in the puppetmasterd section. Also set server = production.hostname

Re: [Puppet Users] Re: SSL Makes My Brain Bleed

2009-11-23 Thread Atha Kouroussis
Hi Pete, I was thinking of doing that since all the entries in the wiki addressing Puppet Scalability deal with multiple CAs which in my opinion overly complicates things. I am also waiting on a resolution for #2848 which arose from this kind of setup. Cheers, Atha On Nov 23, 2009, at 18:05 ,

Re: [Puppet Users] Templates and loops..

2009-11-23 Thread Julian Simpson
2009/11/23 Christopher Johnston chjoh...@gmail.com: Its definitely there.. I even put a %= processorcount % to make sure the variable is set. % processorcount.to_i-1 % % for cpu in (0..processorcount) % Facter version is 1.52 # facter  | grep proc processor0 = Intel(R) Xeon(R) CPU          

Re: [Puppet Users] Templates and loops..

2009-11-23 Thread Christopher Johnston
Yes it prints 4 directly into the file, but I cant put processorcount into the loop. Works fine in ruby but erb fails. Any ideas here on how to do this? I need to be able to determine the number of processors on the systems so I can generate a configuration file (loop through each processor

Re: [Puppet Users] Re: passenger not accepting alternate config file

2009-11-23 Thread Scott Smith
Nigel Kersten wrote: I was under the impression we weren't meant to use = in puppet config settings, but I could be wrong. Eh, it just uses optparse to read command-line flags, which accepts the use of an equals sign. -scott -- You received this message because you are subscribed to the

Re: [Puppet Users] Re: passenger not accepting alternate config file

2009-11-23 Thread John Warburton
Thanks Nigel 2009/11/24 Nigel Kersten nig...@google.com Sorry for misreading the email earlier, what I'm actually doing is: ARGV --config /etc/puppet/puppetmasterd.conf This now works Part of the problem debugging this was: 1) My lack of knowledge of ruby 2) I had kept caches, files etc

Re: [Puppet Users] Shared database for storedconfigs?

2009-11-23 Thread Ohad Levy
Hi Atha, if you dont have a high latency between your locations, you can technically do that. You need to ensure that only one server has the dbmigrate option enabled, and its more or less mandatory to run the same puppet version on all of your servers. however, for each client connection, the

Re: [Puppet Users] Usage of schedule

2009-11-23 Thread Ohad Levy
any maybe a combination of --tags for the rest of the time On Tue, Nov 24, 2009 at 2:28 AM, Scott Smith sc...@ohlol.net wrote: Christopher Johnston wrote: I would like to schedule puppet to only run EVERYTHING once a day at a specific time, what would be the best approach to do that?

Re: [Puppet Users] Shared database for storedconfigs?

2009-11-23 Thread Atha Kouroussis
Hi Ohad, thanks for your reply. The database would be shared per location, not globally, and as such there shouldn't be any latency issues. As everything else in our setup, it would be clustered to ensure availability. We had read puppetqd and will use it. We already have an activemq