[Puppet Users] Re: Automatically update host

2009-04-30 Thread Matthew Hyclak
On Thu, Apr 30, 2009 at 1:59 PM, haribole wrote: > > Hello Group > > I am trying to setup puppet so that when a new client connects to the > server, the puppetd from the client can update a resource on the > puppetmasted server with its IP address, fqdn and alias, so that this > info can be distr

[Puppet Users] Automatically update host

2009-04-30 Thread haribole
Hello Group I am trying to setup puppet so that when a new client connects to the server, the puppetd from the client can update a resource on the puppetmasted server with its IP address, fqdn and alias, so that this info can be distributed to all the known clients of the network. >From what I u

[Puppet Users] Question regarding directories

2009-04-30 Thread Matt Marshall
I am trying to set puppet up to manage a directory of files, in this particular case for bacula. Is there any way to get puppet to copy all of the files in the directory to the destination machine? I've tried setting recurse => true, and using wild cards, but so far no luck. Any suggestions short

[Puppet Users] Re: Puppet and yum repositories

2009-04-30 Thread Brandon Evans
I prefer copying the repos over using a template. This way all my CentOS boxes have the same repos. If I were to add any Fedora boxes to the mix I'd add the repos to the Fedora {} block. case $operatingsystem { CentOS : { file { "epel" : path => "/etc/yum.repo

[Puppet Users] Re: Syntax checking hook when using git?

2009-04-30 Thread Mark Plaksin
Jean-Baptiste Quenot writes: > 2009/4/23 Mark Plaksin : > >> >> We want to switch our Puppet config repository from SVN to Git.  Our SVN >> repository has a pre-commit hook that does a syntax check.  If the check >> fails, the commit fails.  With SVN that hook runs on the server so it's >> easy

[Puppet Users] Re: tweaking Passenger/Rack for performance.

2009-04-30 Thread Steven Jenkins
Nigel Kersten wrote: > On Thu, Apr 30, 2009 at 11:00 AM, Steven Jenkins wrote: >> Nigel Kersten wrote: >>> so here are my unorganized thoughts on Passenger settings. >>> >> ... >>> * PassengerPoolIdleTime >>> The default is 300 seconds. I'm yet to look into this setting. >>> >>> >> I've done fair

[Puppet Users] Re: tweaking Passenger/Rack for performance.

2009-04-30 Thread Nigel Kersten
On Thu, Apr 30, 2009 at 11:00 AM, Steven Jenkins wrote: > > Nigel Kersten wrote: >> so here are my unorganized thoughts on Passenger settings. >> > ... >> >> * PassengerPoolIdleTime >> The default is 300 seconds. I'm yet to look into this setting. >> >> > > I've done fairly extensive testing over

[Puppet Users] Re: tweaking Passenger/Rack for performance.

2009-04-30 Thread Steven Jenkins
Nigel Kersten wrote: > so here are my unorganized thoughts on Passenger settings. > ... > > * PassengerPoolIdleTime > The default is 300 seconds. I'm yet to look into this setting. > > I've done fairly extensive testing over the past few weeks with a Rails app on Passenger, and I've found th

[Puppet Users] tweaking Passenger/Rack for performance.

2009-04-30 Thread Nigel Kersten
so here are my unorganized thoughts on Passenger settings. * PassengerMaxPoolSize This depends a lot on two primary variables. a) How much RAM you have. b) How much resident memory is needed for your environments/modules. Only way to determine this is with tweaking, and you'll need to be much mo

[Puppet Users] Re: Should we really expect puppetd to die randomly? (Was: Puppet watching puppet)

2009-04-30 Thread Nigel Kersten
On Wed, Apr 29, 2009 at 11:29 PM, Ohad Levy wrote: > > > On Fri, Apr 24, 2009 at 9:45 PM, Nigel Kersten wrote: >> >> ... >> manifest (planning to release this btw), and I've been amazed at just >> how much better Passenger/Rack performs compared to >> Pound/Nginx/Mongrel. > > How much did you tw

[Puppet Users] Re: Puppet on VMware ESX

2009-04-30 Thread paul matthews
I've only just got round to implementing this but can confirm it works a treat. Thanks very much for the suggestion. I'd be curious to know what extra bits you use in production but no problems if its a hassle to provide Paul 2009/4/27 dane foster > If you install the VI Perl SDK, you'll get al

[Puppet Users] Re: Question about passwords

2009-04-30 Thread Rob McBroom
On 2009-Apr-29, at 6:22 PM, josbal wrote: > If a user1 on server1 has uid 502 and in puppet i define user1 to have > uid 500. When i add server1 to puppet, will puppet be able to change > all the file permissions associated with user1? Or will it orphan all > of user1's files? On many systems,

[Puppet Users] Parsed File

2009-04-30 Thread jekhokie
I have a custom type that I am trying to get to compare the contents of two files. Specifically, the user will specify (in the resource) the location of the file which will serve as the base configuration, and the provider should compare this file to another file in another location. I know that

[Puppet Users] Re: Regular Expressions

2009-04-30 Thread jekhokie
Thanks! I think I was getting confused because there was a simple syntax error in my files. On Apr 29, 10:11 pm, Kelsey Hightower wrote: > Based on a snippet from the group provider, it looks like the answer > to your question is yes. > > Taken from: puppet/lib/puppet/type/group.rb > > munge do