3

Is it possible to notify a File[] resource in Puppet and trigger resources subscribed to that file?

view full story
linux-howto

http://serverfault.com – We're using Puppet to manage an OpenStack installation. OpenStack consists of a number of loosely connected parts, all communicating via AMQP. Several of the parts use a common configuration file (/etc/nova/nova.conf), so a typical service resource looks like this: service { 'openstack-nova-network': ensure => running, enable => true, subscribe => File['/etc/nova/nova.conf'], } This all works great. Now we're using Puppet to install a hotfix to some of the underlying Python code. When we replace one of the Python source files, we would like to restart the services t (HowTos)