[Puppet Users] Mac OS X open ssh server refresh from puppet...

2009-08-30 Thread grandpa
Anyone out there who've tried updating sshd_config on macs and restarting / ensure running the ssh server? I've found that this ALMOST works: service { com.openssh.sshd: enable = true, ensure = running; } and then

[Puppet Users] Re: Mac OS X open ssh server refresh from puppet...

2009-08-30 Thread grandpa
Talking to myself here ;-)... I've noticed in the man pages for launchctl in Snow Leopard this: -w Overrides the Disabled key and sets it to false. In previous versions, this option would modify the configuration file. Now the state of the Disabled key is stored elsewhere on-disk. So I

[Puppet Users] Re: Mac OS X open ssh server refresh from puppet...

2009-08-30 Thread grandpa
The actual problem still seems to be with the provider. Doing a proper trace/debug/verbose I get this output: debug: Service[com.openssh.sshd](provider=launchd): Executing 'launchctl load /System/Library/LaunchDaemons/ssh.plist' /Library/Ruby/Site/1.8/puppet/provider/service/launchd.rb:141:in

[Puppet Users] Re: Mac OS X open ssh server refresh from puppet...

2009-08-30 Thread grandpa
Doing another run reveals a bit more... perhaps I missed pasting that part previously. Here we can see what puppet executes. If I do the same from a terminal I get nothing found to load. launchctl unload -w /System/Library/LaunchDaemons/ssh.plist then launchctl load

[Puppet Users] Re: Mac OS X open ssh server refresh from puppet...

2009-08-30 Thread Nigel Kersten
We need to re-do some of the way the service provider works. Your solution isn't going to work for all cases. Apple decided to stop using the plist to store state in, and it's all in /var now. Can you bug report this and assign it to me John? On Sun, Aug 30, 2009 at 7:57 AM,

[Puppet Users] Re: Mac OS X open ssh server refresh from puppet...

2009-08-30 Thread Nigel Kersten
I should also add that you really want to be running 0.25.0rc1 for Snow Leopard. The package installer is broken in 0.24.8 for SnoLo as Apple started dereferencing mount points, and we got it fixed in 0.25.x I can get the service issue fixed pretty quickly for 0.25.x On Sun, Aug 30, 2009 at

[Puppet Users] Re: Mac OS X open ssh server refresh from puppet...

2009-08-30 Thread Nigel Kersten
On Sun, Aug 30, 2009 at 10:30 AM, grandpajohn.axel.eriks...@gmail.com wrote: I am running 0.25rc1 from your package. Also running facter built from a clone of your git repo(think it was on github), since there seem to be a bug with versioning concerning 10.6 not fixed in your package. Yeah.

[Puppet Users] Re: Mac OS X open ssh server refresh from puppet...

2009-08-30 Thread Paul Nasrat
2009/8/30 Nigel Kersten nig...@google.com: On Sun, Aug 30, 2009 at 10:30 AM, grandpajohn.axel.eriks...@gmail.com wrote: I am running 0.25rc1 from your package. Also running facter built from a clone of your git repo(think it was on github), since there seem to be a bug with versioning

[Puppet Users] Re: Mac OS X open ssh server refresh from puppet...

2009-08-30 Thread grandpa
I am running 0.25rc1 from your package. Also running facter built from a clone of your git repo(think it was on github), since there seem to be a bug with versioning concerning 10.6 not fixed in your package. Thanks for providing those packages. Puppetmaster server is running on Debian 5. Also

[Puppet Users] restart puppetmaster when files change

2009-08-30 Thread ELTigre
I create this class pmaster in order to restart puppetmaster daemon after /etc/puppet/puppet.conf file change. class pmaster { file { /etc/puppet/puppet.conf: ensure = file; } service { puppetmaster:

[Puppet Users] puppet 0.24.8, random problem with very slow puppetruns - no stored-configuration

2009-08-30 Thread Kurt
Hello list, In our company we use puppet to configure our ec2 instances. we start our servers with fresh instances debian lenny, some small and some large. we install puppet like this: apt-get -y --force-yes install ruby1.8 rubygems1.8 gem install puppet --include-dependencies --version 0.24.8

[Puppet Users] Re: Puppet on SLES

2009-08-30 Thread Justin Kinney
Are the opensuse repositories basically identical to the SLES repos? Note the following from the release notes of SLES11: The puppet tools shipped with SUSE Linux Enterprise Server 11 are a Technology Preview. That being said, according to the package list for SLES11 (available here:

[Puppet Users] Re: storeconfigs + environments issue

2009-08-30 Thread josbal
Does anyone have any suggestions as to why storeconfigs aren't working for me? On Aug 28, 1:44 pm, josbal joshua.bald...@gmail.com wrote: Hey Ohad, Does my puppet.conf from my puppetmaster help you? Cheers, Josh On Aug 27, 2:53 pm, josbal joshua.bald...@gmail.com wrote: Surething...