[Puppet Users] Re: Notifying a service when config file changes

2009-01-23 Thread Alban Peignier
Kenneth Holter wrote: > I thought that the "notify" line would make sure that the syslog service > would restart upon changes to the config file, but apparently it isn't > so. Anyone got any suggestions on how to implement this? You should check the line definition, the notify parameter can be i

[Puppet Users] Re: Notifying a service when config file changes

2009-01-23 Thread Paul Lathrop
On Fri, Jan 23, 2009 at 4:35 AM, Kenneth Holter wrote: > service {syslog: >ensure => running, >subscribe => Line["rsyslogserver"] > } > > line { "rsyslogserver": > file => "/etc/syslog.conf", > line => "*.* @server1.example.com", > ensure => present > notify => Service