[Puppet Users] Managing filesystem quotas

2009-10-28 Thread Stephen Nelson-Smith
enable me to rebuild the machine without manual intervention. What would be really awesome would be a quota type that drives quotacheck and edquota - is there much demand for this? Have any of you implemented quotas using puppet? What did you do? S. -- Stephen Nelson-Smith Technical Director

[Puppet Users] Re: Passenger Woes

2009-10-21 Thread Stephen Nelson-Smith
On Tue, Oct 20, 2009 at 9:36 PM, Matt wrote: > > I'd really bite the bullet Stephen and give passenger 2.2.2 a try. OK - tried passenger 2.2.2 - same behaviour. I'm going to blow everything away and start again from scratch and see if I get the same results. S. -- Step

[Puppet Users] Re: Passenger Woes

2009-10-20 Thread Stephen Nelson-Smith
ll puppetmaster.getconfig: # err: Could not retrieve catalog: HTTP-Error: 500 Internal Server Error warning: Not using cache on failed catalog ldap:~# puppet --version 0.24.5 So far I've spent two days on this, and haven't deployed a single resource with puppet... :( Any ideas? S.

[Puppet Users] Re: Passenger Woes

2009-10-20 Thread Stephen Nelson-Smith
#x27;t contain rewindable_input.rb. I've installed it from the gem instead, and we appear to have a significant improvement. Maybe I'm warming to the idea of using gems :$ S. -- Stephen Nelson-Smith Technical Director Atalanta Systems Ltd

[Puppet Users] Passenger Woes

2009-10-19 Thread Stephen Nelson-Smith
ptr Passenger::ApplicationPoolServer::Client::get(const Passenger::PoolOptions&)' (ApplicationPoolServer.h:471) in 'int Hooks::handleRequest(request_rec*)' (Hooks.cpp:521) I'm baffled - I can't see what's wrong. Please help! :) TIA, S. -- Stephen Nelson-Smith T

[Puppet Users] Re: Best Practices Rewrite - First Draft

2009-10-18 Thread Stephen Nelson-Smith
and messy large government Drupal infrastructure (and associated services) and am also doing some puppet training, so gathering together collected wisdom, adding my own experiences from 3 years of running puppet, and maintaining the document seems like an ideal fit. Is everyone ok with this? S. -- Step

[Puppet Users] Cron every minute

2008-10-15 Thread Stephen Nelson-Smith
Can I just do: cron { "my-job": command => "/my/command", minute => "*", ensure => "present", } S. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to pu

[Puppet Users] Re: Fact load failure

2008-10-14 Thread Stephen Nelson-Smith
Hi, > Extra 'end'? Not that I know Ruby at all well, but pasting the given > code into Xemacs makes it complain about an invalid nest with the fifth > 'end'. And if 'end' is the complement to 'if' and 'do', then there > should only be four. There's only four on the puppetmaster. Not quite sure

[Puppet Users] Fact load failure

2008-10-14 Thread Stephen Nelson-Smith
Hi, I've created this fact: require 'facter' if FileTest.exists?("/etc/ha.d") if `service heartbeat status` =~ /running/ cib = `cibadmin -Q`.grep(/epoch/).to_s epoch = cib.scan(/[0-9]+/).first Facter.add("cib_epoch") do setcode do epoch.to_i + 1 end