[Puppet Users] Re: Ensure overriden service after exec has run

2009-06-26 Thread Mike Lancaster
My original email didn't explain my problem very well. I'm just looking for a bit of advice on how to implement the following; How do I force my Service declaration (which is defined elsewhere and inherited) to run after an exec has run? ypbind is already defined as a service elsewhere so I

[Puppet Users] Re: Ensure overriden service after exec has run

2009-06-26 Thread Brice Figureau
On Fri, 2009-06-26 at 02:20 -0700, Mike Lancaster wrote: My original email didn't explain my problem very well. I'm just looking for a bit of advice on how to implement the following; How do I force my Service declaration (which is defined elsewhere and inherited) to run after an exec has

[Puppet Users] Re: Installing applications using puppet

2009-06-26 Thread Bjørn Dyresen
On Jun 26, 2009, at 4:06 AM, Bryan Kearney wrote: Bjørn Dyresen wrote: On Jun 25, 2009, at 10:42 PM, Neil K wrote: Hi all, I am pretty new to Puppet. My puppet master server is a RHEL 5 box and puppet client is a CentOS 5.3 vm. I have managed to configure puppet server to

[Puppet Users] make sure module_xy (if present/defined) is executed before everything else

2009-06-26 Thread Alexander Bien
Greetings, Lets say i have a module, 'centos_base'[1] which kinda bootstraps or keeps a system to a certain standard. Packages, timezones, yum repos prios, snmp config, ssh_auth keys, stuff like that. Now, i would like to make sure that if a node has this module, it should always be

[Puppet Users] NoMemoryError in puppet

2009-06-26 Thread Kirill Kuvaldin
Hi! I'm new to puppet and just testing it out. I'm running SLES11 and puppet 0.24.8 from opensuse repos. I've created a simple manifest to manage the large number of binary files – quite a possible scenario for e.g. managing repository of software packages. I see following messages coming into

[Puppet Users] Re: Performance of Passenger vs. Mongrel

2009-06-26 Thread Mark Plaksin
Scott Smith sc...@ohlol.net writes: Mark Plaksin wrote: Howdy: How does Passenger perform compared to Mongrel? For us Passenger looks worse. We have two puppetmasters; one does file serving, the other does everything else. We just started running 0.25 beta2 on both. The file-server

[Puppet Users] Re: Problems running on Mac OS X

2009-06-26 Thread Allan Marcus
/usr/lib/ruby is a directory, not a symlink. I wanted to make it easier to install, so I dropped the Factor and Puppet packages into a Package Installer meta package. For whatever reason, the meta package is causing the symlink to be replaced with a directory. I will need to look at how I

[Puppet Users] Re: Could not find server my.server.name ?

2009-06-26 Thread Jason Amato
Let me answer that... found in site.pp...filebucket option... # The filebucket option allows for file backups to the server filebucket { main: server = 'my.server.name' } --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google

[Puppet Users] Nagios and other services

2009-06-26 Thread Eric Gerlach
Hi all, Best Practices Question: I've got Nagios configured via puppet, and (of course) I want to monitor services. Where should I put the @@nagios_service definitions? (example uses apache2) a) In the apache2 module (high-coupling) b) In the nagios module (doesn't make sense) c) In some

[Puppet Users] Re: Nagios and other services

2009-06-26 Thread Bjørn Dyresen
On Jun 26, 2009, at 4:28 PM, Eric Gerlach wrote: Hi all, Best Practices Question: I've got Nagios configured via puppet, and (of course) I want to monitor services. Where should I put the @@nagios_service definitions? (example uses apache2) a) In the apache2 module

[Puppet Users] What is (or was) Kinial?

2009-06-26 Thread DrKJam
Some form of node classification tool - http://reductivelabs.com/trac/puppet/wiki/CommonMisconceptions It is mentioned here but I don't see any references to it in the wiki anymore. Did it die before fruition or does it now go by another name? Dave M.

[Puppet Users] Re: Performance of Passenger vs. Mongrel

2009-06-26 Thread Nigel Kersten
On Fri, Jun 26, 2009 at 6:05 AM, Mark Plaksinha...@usg.edu wrote: Scott Smith sc...@ohlol.net writes: Mark Plaksin wrote: Howdy: How does Passenger perform compared to Mongrel?  For us Passenger looks worse.  We have two puppetmasters; one does file serving, the other does everything

[Puppet Users] Re: Performance of Passenger vs. Mongrel

2009-06-26 Thread Scott Smith
Mark Plaksin wrote: Sort of :) We run 12 masters in mongrel. Passenger doesn't seem have a run at least this many puppetmasters setting. We set the max to 12 to match mongrel but we never saw more than 6 masters running. We bumped max to 24 late yesterday and I now see 11 masters running.

[Puppet Users] Re: Problems running on Mac OS X

2009-06-26 Thread Allan Marcus
I just found the check box in Package Maker to follow symlinks. You have to double click on each package to get at that preference. I don't understand why it's not in the Configuration screen. At any rate, my meta installer is now working. Thanks for the help. BTW, I've started using Deep

[Puppet Users] Re: NoMemoryError in puppet

2009-06-26 Thread Kirill Kuvaldin
On Jun 26, 7:48 pm, Scott Smith sc...@ohlol.net wrote: Why are you using Puppet to perform a job that your OS can perform much much easier with its bundled software? I think you got me wrong – I'm not going to manage software packages via Puppet, I was just going to sync a large number of

[Puppet Users] Re: Problems running on Mac OS X

2009-06-26 Thread Nigel Kersten
On Fri, Jun 26, 2009 at 9:07 AM, Allan Marcusal...@lanl.gov wrote: I just found the check box in Package Maker to follow symlinks. You have to double click on each package to get at that preference. I don't understand why it's not in the Configuration screen. At any rate, my meta installer

[Puppet Users] Re: NoMemoryError in puppet

2009-06-26 Thread Scott Smith
Kirill Kuvaldin wrote: On Jun 26, 7:48 pm, Scott Smith sc...@ohlol.net wrote: Why are you using Puppet to perform a job that your OS can perform much much easier with its bundled software? I think you got me wrong – I'm not going to manage software packages via Puppet, I was just

[Puppet Users] Re: Problems running on Mac OS X

2009-06-26 Thread Allan Marcus
No, probably not. I was just being lazy and didn't want to push out two packages. Given that Facter and Puppet are different code branches that are not dependent on each other (true?), then having seperate packages seems fine. BTW, are you going to post a new Facter package with the

[Puppet Users] Re: Problems running on Mac OS X

2009-06-26 Thread Nigel Kersten
On Fri, Jun 26, 2009 at 10:00 AM, Allan Marcusal...@lanl.gov wrote: No, probably not. I was just being lazy and didn't want to push out two packages. Given that Facter and Puppet are different code branches that are not dependent on each other (true?), then having seperate packages seems

[Puppet Users] FQDN and NAT?

2009-06-26 Thread Allan Marcus
hello, from what I understand, certs are assigned based on FQDN. We build all our machines behind a NAT router and then when fully ready, we add the machine to the main network, or might be used on a daily basis behind a different NAT router - it all depends on the security requirements

[Puppet Users] Re: Problems running on Mac OS X

2009-06-26 Thread Allan Marcus
yep, I knew that. But we pay Google a lot of money to keep the distribution page updated! Oh wait, we forgot to send the check. It's in the mail! Yep, check's in the mail. That's my story and I'm stickin' to it. :-) --- Thanks, Allan Marcus 505-667-5666 On Jun 26, 2009, at 11:03 AM,

[Puppet Users] Re: FQDN and NAT?

2009-06-26 Thread RijilV
2009/6/26 Allan Marcus al...@lanl.gov: hello, from what I understand, certs are assigned based on FQDN. We build all our machines behind a NAT router and then when fully ready, we add the machine to the main network, or might be used on a daily basis behind a different NAT router - it all

[Puppet Users] Re: Performance of Passenger vs. Mongrel

2009-06-26 Thread Mark Plaksin
Scott Smith sc...@ohlol.net writes: All of our puppetmasters are running on the same size hardware. The machines have 8 cores and 12G of RAM. Do you expect Passenger to perform better? Not necessarily. But load average isn't exactly a great performance metric. BTW, what's the load

[Puppet Users] Re: Problems running on Mac OS X

2009-06-26 Thread Nigel Kersten
On Fri, Jun 26, 2009 at 11:03 AM, Allan Marcusal...@lanl.gov wrote: yep, I knew that. But we pay Google a lot of money to keep the distribution page updated! Oh wait, we forgot to send the check. It's in the mail! Yep, check's in the mail. That's my story and I'm stickin' to it. :-) check

[Puppet Users] Re: Performance of Passenger vs. Mongrel

2009-06-26 Thread Christian Hofstaedtler
On Jun 26, 3:05 pm, Mark Plaksin ha...@usg.edu wrote: Scott Smith sc...@ohlol.net writes: Mark Plaksin wrote: Are you running the same # of mongrels as Passenger workers? Sort of :) We run 12 masters in mongrel.  Passenger doesn't seem have a run at least this many puppetmasters setting.  

[Puppet Users] Re: Performance of Passenger vs. Mongrel

2009-06-26 Thread Mark Plaksin
Christian Hofstaedtler ch+...@zeha.at writes: On Jun 26, 3:05 pm, Mark Plaksin ha...@usg.edu wrote: Scott Smith sc...@ohlol.net writes: Mark Plaksin wrote: Are you running the same # of mongrels as Passenger workers? Sort of :) We run 12 masters in mongrel.  Passenger doesn't seem have

[Puppet Users] Re: Installing applications using puppet

2009-06-26 Thread Neil K
Wrong place to do this, you do not use puppet to create a package. you sue puppet to install the package. The distribution you are using will dictate how to create packages. The ./configure, make, make install plus anything else needed for your particular package format would be done by you

[Puppet Users] Re: Performance of Passenger vs. Mongrel

2009-06-26 Thread Scott Smith
Mark Plaksin wrote: Load average is peaking around 10. That's not so good compared to running under mongrel where the load peaked at less than 5 (both with 0.25b1 and 0.25b2). Were the puppetmasters verifiably slower? If so, how did you measure it? -scott -- sc...@ohlol.net

[Puppet Users] Re: Installing applications using puppet

2009-06-26 Thread Evan Hisey
done by you to create the application package.  The package would then be setup in a local repository and now puppet uses the appropraite package manager to install you custom package. what distribution are you using? Evan My puppet master server is RHEL 5 and puppet client is CentOS

[Puppet Users] Re: Performance of Passenger vs. Mongrel

2009-06-26 Thread Christian Hofstaedtler
On Jun 26, 9:56 pm, Mark Plaksin ha...@usg.edu wrote: Scott Smith sc...@ohlol.net writes: Mark Plaksin wrote: Load average is peaking around 10.  That's not so good compared to running under mongrel where the load peaked at less than 5 (both with 0.25b1 and 0.25b2). Were the

[Puppet Users] Re: Performance of Passenger vs. Mongrel

2009-06-26 Thread Mark Plaksin
Christian Hofstaedtler ch+...@zeha.at writes: On Jun 26, 9:56 pm, Mark Plaksin ha...@usg.edu wrote: Scott Smith sc...@ohlol.net writes: Mark Plaksin wrote: Load average is peaking around 10.  That's not so good compared to running under mongrel where the load peaked at less than 5 (both

[Puppet Users] autosign.conf documented?

2009-06-26 Thread Allan Marcus
hello, maybe i missed it, but is the autosign.conf file documented anywhere? If want to autosign all the computers in my domain, can I just put *.lanl.gov in the autosign.conf file? --- Thanks, Allan Marcus 505-667-5666 --~--~-~--~~~---~--~~ You received

[Puppet Users] Re: autosign.conf documented?

2009-06-26 Thread James Turnbull
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Allan Marcus wrote: hello, maybe i missed it, but is the autosign.conf file documented anywhere? If want to autosign all the computers in my domain, can I just put *.lanl.gov Allan See:

[Puppet Users] exec : creates parameter does not create the file

2009-06-26 Thread Swati Tiwari
Hello guys, I am facing this problem. I have an exec resource which has a create parameter. The catalog runs properly but the file is not created, has anyone faced such a problem? My manifest is class example { exec { sources: command = /usr/bin/sudo /usr/bin/gem sources -a

[Puppet Users] Re: exec : creates parameter does not create the file

2009-06-26 Thread Avi Miller
Swati Tiwari wrote: The command runs fine but it does not create /tmp/githubadded file. I think you're misunderstanding the parameter. The exec resource does not create this file. It assumes whatever it is exec'ing will create the file. So, it will keep running the exec until this file is

[Puppet Users] exec : creates parameter does not create the file

2009-06-26 Thread Steven VanDevender
Swati Tiwari writes: Hello guys, I am facing this problem. I have an exec resource which has a create parameter. The catalog runs properly but the file is not created, has anyone faced such a problem? My manifest is class example { exec { sources:

[Puppet Users] Re: exec : creates parameter does not create the file

2009-06-26 Thread Scott Smith
Swati Tiwari wrote: The command runs fine but it does not create /tmp/githubadded file. I also have write permission on this directory. Any help would be appreciated. Thanks! creates A file that this command creates. If this parameter is provided, then the command will only be run if

[Puppet Users] Re: exec : creates parameter does not create the file

2009-06-26 Thread Swati Tiwari
Got it! Thank you! I did this and it worked! exec { sources: command = sudo gem sources -a http://gems.github.com/ /tmp/githubadded, creates = /tmp/githubadded } I hope that's the right way to do it... 2009/6/26 Scott Smith sc...@ohlol.net Swati Tiwari wrote: The command

[Puppet Users] Re: Performance of Passenger vs. Mongrel

2009-06-26 Thread Mark Plaksin
Scott Smith sc...@ohlol.net writes: Christian Hofstaedtler wrote: What worries me is, that you are saying it takes twice as long and your load is twice as high. So you're actually seeing a 4-time worse performance, which is /very/ bad. Which processes do you see running? puppetmasterds and

[Puppet Users] Re: Making a file out of fragments

2009-06-26 Thread jchonig
Thanks for all the pointers! Currently I build all the files with a derivation of the Apt_Repository recipe (http://reductivelabs.com/trac/puppet/wiki/ Recipes/Apt_Repositories). So I would need to write these files to a temp dir on the client and run concat on them. Is there a way to

[Puppet Users] Re: Problems running on Mac OS X

2009-06-26 Thread Jason Hueske
Nigel, if you have similar scripts for flat or dmg pkgs I would love to take a look. Does puppet's support such packages? Did you have any trouble reconciling the different receipt mechanisms in 10.4/10.5? On Jun 26, 2009, at 12:03 PM, Nigel Kersten wrote: Please note that for both Puppet