Re: [Puppet Users] File checksum

2012-03-06 Thread Nan Liu
On Tue, Mar 6, 2012 at 9:17 AM, Luke Baker wrote: > I want to to ensure a file, and if the content changes a subscribed exec > should fire. > >     file { "/etc/opt/microsoft/scx/ssl/scx-host-$fqdn.pem": >         checksum => "md5", >     } Try adding audit => checksum to the file. Though I recal

[Puppet Users] File checksum

2012-03-06 Thread Luke Baker
I want to to ensure a file, and if the content changes a subscribed exec should fire. file { "/etc/opt/microsoft/scx/ssl/scx-host-$fqdn.pem": checksum => "md5", } exec { "/etc/init.d/scx-cimd restart": subscribe => File["/etc/opt/microsoft/scx/ssl/scx-host-$fqdn.pe