On Nov 5, 2010, at 4:20 PM, byron appelt wrote: > Is it possible to use a Service resource, but not have puppet start or > start the service? I want to declare service resources so that I can > easily make sure that puppet will restart them when packages are > upgraded, etc., but I do not want puppet to restart them if a sysadmin > shuts the down for some reason.
Almost every service I have defined is set to start when the system boots, but Puppet won't start it if it's not running. Just leave the “ensure” parameter out entirely. service { "foo": enable => true, } And then you can either use “subscribe” on the service or “notify” on the packages, config files, etc. (Although I have to think most properly made packages will restart the service for you if needed.) -- Rob McBroom <http://www.skurfer.com/> -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-us...@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.