Sha256: e22095ff5d6ea9f919fb62f29b66c09d3143e3858a29ade9e9c9ce4c8350a105
Contents?: true
Size: 521 Bytes
Versions: 17
Compression:
Stored size: 521 Bytes
Contents
# Should never be executed, see comment below execute("echo should-not-execute") execute("echo foo") do # refers to the resource below, but there is an intentional typo # expected behavior is for the reference to be resolved *before* # Chef starts converging resources, so that the above execute # resource is never called. # Also, the error message should be helpful. notifies(:create, "file[#{node[:tmpdir]}/notified_file.txt]") end file "#{node[:tmpdir]}/not-notified_file.txt" do action :nothing end
Version data entries
17 entries across 17 versions & 1 rubygems