[Puppet Users] Re: Where are the puppet logs on Solaris 10?

2009-11-09 Thread robert.gstoehl
A stock Solaris 10 syslog logs to /var/adm/messages. Cheers Robert On Nov 8, 3:01 pm, Erlend Leganger wrote: > I set up puppet for the first time yesterday, on two Solaris 10 > machines, each running puppet v0.24.7. I made a modified version of > the initial manifest described > inhttp://reduc

[Puppet Users] Re: Behavior Driven Infrastructure

2009-11-09 Thread Christian Kauhaus
Isaac Christoffersen schrieb: > to validate the server configuration. The combination of TDD and BDD > with server rollouts is very attractive. I think the whole topic is really hot. :-) It would probably a good idea to expand what the difference between TDD and BDD in systems management actua

[Puppet Users] Re: Behavior Driven Infrastructure

2009-11-09 Thread Julian Simpson
My understanding is that Test Driven Development hit the mainstream (did smalltalk have a unit test framework?) with JUnit.[1] Junit allowed developers to automate their unit tests. All the unit tests for your project should run in seconds, if your codebase and tests are loosely coupled. e.g. t

[Puppet Users] Re: Simple script for restoring puppet hosted files from local backup

2009-11-09 Thread Luke Kanies
On Nov 4, 2009, at 7:40 AM, Kenneth Holter wrote: > > Hi. > > I found this script to retrieve backed up puppet hosted files: > http://markmail.org/message/nybqh3be7bcge33h > > ..and made some adjustsments. I've pasted the script below in case > anyone else are in need of such a script: > > ---

[Puppet Users] Re: Any ideas about this error with upgrading to 0.25.1?

2009-11-09 Thread Larry Ludwig
Could it be related the files folder I have has sub directories?? drwxr-xr-x 5 puppet puppet 4096 Apr 21 2009 . drwxr-x--- 4 puppet puppet 4096 Apr 7 2009 .. lrwxrwxrwx 1 root root 6 Apr 7 2009 CentOS -> RedHat drwxr-x--- 2 puppet puppet 4096 Apr 7 2009 Debian drwxr-x--- 2 pupp

[Puppet Users] Re: Any ideas about this error with upgrading to 0.25.1?

2009-11-09 Thread Brice Figureau
On 09/11/09 21:39, Larry Ludwig wrote: > > Could it be related the files folder I have has sub directories?? I don't think so. IMHO, you should try to add some debug information to your master to see why those requests are forbidden for you. The code that checks if the file serving request is

[Puppet Users] Re: Passenger versions with Puppet 0.25.1 puppetmasterd

2009-11-09 Thread Nigel Kersten
On Sat, Nov 7, 2009 at 8:12 AM, Nigel Kersten wrote: > On Sat, Nov 7, 2009 at 3:14 AM, Christian Hofstaedtler wrote: >> >> On Nov 6, 11:32 pm, Nigel Kersten wrote: >>> [..] >>> I'm in the middle of testing 2.2.5 now, and hit this problem. >>> >>> http://groups.google.com/group/phusion-passenger

[Puppet Users] Re: Passenger versions with Puppet 0.25.1 puppetmasterd

2009-11-09 Thread Christian Hofstaedtler
* Nigel Kersten [091109 22:22]: > > On Sat, Nov 7, 2009 at 8:12 AM, Nigel Kersten wrote: > > On Sat, Nov 7, 2009 at 3:14 AM, Christian Hofstaedtler > > wrote: > >> > >> On Nov 6, 11:32 pm, Nigel Kersten wrote: > >>> [..] > >>> I'm in the middle of testing 2.2.5 now, and hit this problem. > >

[Puppet Users] Re: Behavior Driven Infrastructure

2009-11-09 Thread Lindsay Holmwood
2009/11/6 Martin Englund : >> > It is indeed better to work on this jointly. You are much further > along the way, so I'll clone your cucumber-nagios repository and work > in integrating the stuff I've done into your code. You'll be hearing > from me shortly... So i've added some SSH steps to cuc

[Puppet Users] Re: Passenger versions with Puppet 0.25.1 puppetmasterd

2009-11-09 Thread Nigel Kersten
On Mon, Nov 9, 2009 at 1:58 PM, Christian Hofstaedtler wrote: > > * Nigel Kersten [091109 22:22]: >> >> On Sat, Nov 7, 2009 at 8:12 AM, Nigel Kersten wrote: >> > On Sat, Nov 7, 2009 at 3:14 AM, Christian Hofstaedtler >> > wrote: >> >> >> >> On Nov 6, 11:32 pm, Nigel Kersten wrote: >> >>> [..

[Puppet Users] Puppet Service shutdown symlinks.

2009-11-09 Thread Douglas Garstang
So, I noticed that when adding a service to puppet, puppet is running a chkconfig . However, as far as I can tell, puppet should be running a chkconfig --add , otherwise the symlinks don't get created from the service in /etc/rc.d/rc6.d back to the service in /etc/init.d. As as a result, the servi

[Puppet Users] Relicensing and copyright, starting with Facter

2009-11-09 Thread Luke Kanies
Hi all, As promised in the spring[1], we're finally starting to execute on our licensing and copyright strategy. At this point, our plan is to convert Puppet and Facter to the Apache license, release any further projects under the same license, and require CLAs for any significant contribu

[Puppet Users] Puppet Not Running chkconfig correctly.

2009-11-09 Thread Douglas Garstang
So, I noticed that when adding a service to puppet, puppet is running a chkconfig . However, as far as I can tell, puppet should be running a chkconfig --add , otherwise the symlinks don't get created from the service in /etc/rc.d/rc6.d back to the service in /etc/init.d. As as a result, the servi

[Puppet Users] Re: Puppet Not Running chkconfig correctly.

2009-11-09 Thread Luke Kanies
On Nov 9, 2009, at 5:27 PM, Douglas Garstang wrote: > > So, I noticed that when adding a service to puppet, puppet is running > a chkconfig . However, as far as I can tell, puppet should be > running a chkconfig --add , otherwise the symlinks don't get > created from the service in /etc/rc.d/rc6.

[Puppet Users] Re: Puppet Not Running chkconfig correctly.

2009-11-09 Thread Nigel Kersten
On Mon, Nov 9, 2009 at 5:27 PM, Douglas Garstang wrote: > > So, I noticed that when adding a service to puppet, puppet is running > a chkconfig . However, as far as I can tell, puppet should be > running a chkconfig --add , otherwise the symlinks don't get > created from the service in /etc/rc.d/

[Puppet Users] removing excess permissions

2009-11-09 Thread Luke Schierer
Does anyone have a puppet recipe that would remove extraneous permissions on files and directories without explicitly setting what the permissions should be? I have an application that creates and manipulates a bunch of temp files and directories under /tmp, and I'd like to remove the unn

[Puppet Users] Re: Puppet Not Running chkconfig correctly.

2009-11-09 Thread Douglas Garstang
Well, that's interesting. Here's what happens WITHOUT puppet... # Remove service jboss-tfel0. gumby /etc/rc.d:# chkconfig --del jboss-tfel0 # No links remain. gumby /etc/rc.d:# find . -name "*jboss-tfel0*" ./init.d/jboss-tfel0 # Add the jboss-tfel0 service. gumby /etc/rc.d:# chkconfig --add jbo

[Puppet Users] Re: Puppet Not Running chkconfig correctly.

2009-11-09 Thread Douglas Garstang
I probably wouldn't post twice if it I wasn't waiting 4+ hours for my posts to appear. For all I know the post disappeared. Posts not appearing has occurred several times over the last couple of weeks. On Mon, Nov 9, 2009 at 5:30 PM, Luke Kanies wrote: > > On Nov 9, 2009, at 5:27 PM, Douglas Ga

[Puppet Users] Re: Puppet Not Running chkconfig correctly.

2009-11-09 Thread Ohad Levy
Hi, looking at the code I cant see the add, looking at the history, this was removed at commit 83ef1b0. based on the comments of #1219, add and remove should be done by the rpms, while on and off should be done by puppet. I guess that we can do chkconfig --add as it would be usually harmless and

[Puppet Users] Re: Puppet Not Running chkconfig correctly.

2009-11-09 Thread Douglas Garstang
Ohad, Thanks for checking that. Wow, this REALLY sucks in the current implementation then. Without the init scripts being called on shutdown, lock files don't get cleaned up, and the services don't start on the next boot. That's bad. Running chkconfig on wouldn't fix the problem. gumby /etc/rc

[Puppet Users] Re: Puppet Not Running chkconfig correctly.

2009-11-09 Thread Douglas Garstang
I guess an ugly workaround for this might be... exec { "chkconfig jboss-${name}": command => "/sbin/chkconfig --add jboss-${name}", onlyif => "! test -f /etc/rc3.d/S15jboss-${name}" } Service { "foo": requires => exec["chkconfig jboss-${name}"]

[Puppet Users] Re: Puppet Not Running chkconfig correctly.

2009-11-09 Thread Dan Bode
Hi Doug, I am trying to wrap my head around this. Can I have a look at the ### BEGIN INIT INFO section of your init script. thanks, Dan --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Puppet Users" group. To pos

[Puppet Users] Re: Puppet Not Running chkconfig correctly.

2009-11-09 Thread Douglas Garstang
Dan, I don't think you need to see it. Take a look at this... This might actually be a redhat bug. Ie... If the service isn’t registered... gumby /etc/rc.d:# chkconfig --del jboss-tfel0 But then your an idiot and run ‘on’ without first running ‘--add’ gumby /etc/rc.d:# chkconfig jboss-tfel0 on

[Puppet Users] Re: Puppet Not Running chkconfig correctly.

2009-11-09 Thread Douglas Garstang
Dan, And it's not just my badly written script either. Here's what I get with an unmodified httpd startup script... gumby /etc/rc.d:# chkconfig --del httpd gumby /etc/rc.d:# chkconfig httpd on gumby /etc/rc.d:# find . -name *httpd* ./rc3.d/S85httpd ./rc4.d/S85httpd ./init.d/httpd ./rc5.d/S85h

[Puppet Users] Re: Puppet Not Running chkconfig correctly.

2009-11-09 Thread Dan Bode
thats all clear, I see that it does not work with httpd, I wonder if it adds it in the rpm post... I did find one example where everything worked, this is why I was asking the questions before. I am not sure what the difference is between these services. [r...@dansrh3 rc.d]# chkconfig --del yum-u

[Puppet Users] Re: Puppet Not Running chkconfig correctly.

2009-11-09 Thread Douglas Garstang
Dan, Hmmm works for me with yum-updatesd too. Well, I'm confused. My startup script has: # chkconfig: 2345 15 97 ntp, which behaves the same, has: # chkconfig: - 58 74 httpd, which also behaves the same, has: # chkconfig: - 85 15 And, yum-updatesd, which seems to be ok, has: # chkconfig:34