On Jul 25, 2011, at 10:43 AM, Alexis Midon wrote: > Hi Craig, > thank you for you answer. > > I also tried 'has_restart => true,' before posting on this group. It > did not fix the behavior I described: jenkins getting killed but not > restarted. > > Regarding 'refresh', you seem to imply that the log message > "Triggered 'refresh' " means that puppet will try a 'refresh' command. > Is that correct? In which case, I'm confused because > I'm only using "notify => Service['jenkins']" in my script. 'notify' > should trigger a restart, correct? > am I missing something here? ---- I would simply guess that whatever is supposed to be 'notify => Service["jenkins"] isn't working but I've never tried it that way before myself. I would almost certainly have a class jenkins::service and thus would 'notify => Class["jenkins::service"]' directive but it's entirely possible your way could work.
Make sure you run /etc/init.d/jenkins from the command line to ensure that it actually works and there isn't a problem with the configuration file or setup itself. Craig -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.