[Puppet Users] Array input of dirs, ensuring their existence

2009-07-25 Thread grandpa
Hi. I'm VERY new to puppet (had quite a bit of fun for a few days!). I'm trying to set up a variable amount of watch dirs - i.e when something happens execute a command. I've defined watch::config ( $command, $paths, $watchType="recursive", $events="default" ) - the specifics aren't that import

[Puppet Users] puppet and utf8 file names etc

2009-08-14 Thread grandpa
Hello! I'm trying to create directories like these (this is using a proftpd module that is working properly except when special characters are involved): proftpd::user{ "proftpd-user-add-someuser": username => '*', password => '*',

[Puppet Users] Using puppetrun doesn't seem to get the latest manifests from server

2009-08-15 Thread grandpa
My puppet controlled servers do what they're supposed to when running puppetd or doing puppetd --test. I've configured --listen on all puppets and I can telnet to port 8139. I'm not using ldap. When I issue a puppetrun from the puppetmaster to any of the puppets it seems to run and afaict puppetd

[Puppet Users] Re: Array input of dirs, ensuring their existence

2009-08-15 Thread grandpa
To continue and close this one, I'm using iwatch right now which internally uses inotify, though I find iwatch to be a bit slow at times and can't keep up with lots of fs changes. Together with iwatch I'm using csync2 to keep a few servers in sync. This is working fine so far. What I was actually

[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 notif

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

2009-08-30 Thread grandpa
Leopard? /John On 30 Aug, 15:06, grandpa wrote: > 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

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

2009-08-30 Thread grandpa
So I guess the behavior DID change... whatever "previous versions" mean. Should I file a bug report? /John On 30 Aug, 15:30, grandpa wrote: > Forgot to add that I'm running Snow Leopard... > > I've noticed that to start the ssh server from terminal I must do: &

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

2009-08-30 Thread grandpa
if did_enable_job and resource[:enable] == :false self.disable end end So I guess the -w switch is actually used... not sure where to go from here. Anyone? /John On 30 Aug, 15:33, grandpa wrote: > Talking to myself here ;-)... I've noticed in the man pages for >

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

2009-08-30 Thread grandpa
:in `send' /Library/Ruby/Site/1.8/puppet/application.rb:226:in `run_command' /Library/Ruby/Site/1.8/puppet/application.rb:217:in `run' /Library/Ruby/Site/1.8/puppet/application.rb:306:in `exit_on_fail' /Library/Ruby/Site/1.8/puppet/application.rb:217:in `run' /usr/sbi

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

2009-08-30 Thread grandpa
ry/Ruby/Site/1.8/puppet/application.rb:226:in `send' /Library/Ruby/Site/1.8/puppet/application.rb:226:in `run_command' /Library/Ruby/Site/1.8/puppet/application.rb:217:in `run' /Library/Ruby/Site/1.8/puppet/application.rb:306:in `exit_on_fail' /Library/Ruby/Site/1.8/puppet/applica

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

2009-08-30 Thread grandpa
if self.enabled? == :true # keepalive jobs can't be stopped without disabling -cmds << "-w" -did_disable_job = true -end +#if self.enabled? == :true # keepalive jobs can't be stopped without disabling +cmds << "-w&quo

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

2009-08-30 Thread grandpa
t; > > Can you bug report this and assign it to me John? > > > On Sun, Aug 30, 2009 at 7:57 AM, grandpa > > wrote: > > >> I'm no ruby expert... rather I'm a complete newbie, but I found that > >> commenting out the places > >> in the la

[Puppet Users] Mac OS X pkgdmg provider "upgradeable"

2009-09-08 Thread grandpa
I know that the pkgdmg provider doesn't support upgradeable or anything like that... so how do the mac admins out there upgrade for example puppet to the latest version on macs using puppet itself? Is there a good way to do this? I know it will reinstall (and "upgrade" of course) if I remove the /

[Puppet Users] Re: Mac OS X pkgdmg provider "upgradeable"

2009-09-09 Thread grandpa
  require  => Package["$facter_package"], >   } > > We have $pkgbase defined as a variable, but all we do is increment the > facter/puppet packages to a new version, and ... that's it. > > On Tue, Sep 8, 2009 at 4:21 PM, grandpa wrote: > > > > > I

[Puppet Users] What does puppetrun do?

2009-09-12 Thread grandpa
I think I might have misunderstood what puppetrun does. I've interpreted it as puppetrun triggers a remote run of puppet AND that the remote puppet fetches the latest manifests and applies them. This is not what seems to happen though. As far as I can tell, puppetrun just triggers the remote pup

[Puppet Users] Re: Errors with puppet-dashboard

2010-01-09 Thread grandpa
I have, just now I got: undefined method `with_indifferent_access' for nil:NilClass Extracted source (around line #10): 7: %tbody 8: %tr 9: %th Runtime 10: - reports.map{|r| r.metrics[:time][:total]}.each do |time| 11: %td= "%0.3f" % time Trace of template inclusion: app