That's incredible. Thanks a lot Ken. It works!
On Monday, 14 January 2013 18:25:18 UTC, Ken Barber wrote:
>
> Sorry, forgot the doc link:
>
> http://docs.puppetlabs.com/references/latest/metaparameter.html#audit
>
> On Mon, Jan 14, 2013 at 6:24 PM, Ken Barber
> >
> wrote:
> > You probably wan
Sorry, forgot the doc link:
http://docs.puppetlabs.com/references/latest/metaparameter.html#audit
On Mon, Jan 14, 2013 at 6:24 PM, Ken Barber wrote:
> You probably want an audit field in your file resource, try this
> pattern on for size:
>
> # cat /tmp/zzz.pp
> file {"/tmp/foo":
> ensure => f
You probably want an audit field in your file resource, try this
pattern on for size:
# cat /tmp/zzz.pp
file {"/tmp/foo":
ensure => file,
notify => Exec["foo"],
audit => 'content',
}
exec {"foo":
command => "/usr/bin/true",
refreshonly => true,
}
# echo "foobar" > /tmp/foo
# ./bin/puppet
Hi Guys,
My manifest code looks pretty much like below:
exec { 'sync-business-logic':
path => "/usr/bin:/bin:${bl_path}",
cwd => $bl_path,
command => 'sync-bl.pl',
refreshonly => true,
subscribe => File[$sync_bl_files],
}
file { $syn