- From: "Jordan Wesolowski" <
>
- To:
- Cc:
- Subject: [chef] Re: Execute only if file updated?
- Date: Thu, 04 Dec 2014 09:24:07 -0800 (PST)
file '/tmp/foo.txt' do
content 'foo'
notifies :run, 'execute[bar]'
end
execute 'bar' do
command 'echo bar'
action :nothing
end
On Thu, Dec 4, 2014 at 9:18 AM, Douglas Garstang <
" target="_blank">
> wrote:
All,
Is there a way to make chef run an execute ONLY IF a file is updated? Otherwise, _never_?
Doug
Archive powered by MHonArc 2.6.16.