diff options
Diffstat (limited to 'features/data/cookbooks/delayed_notifications/recipes/invalid_forward_reference.rb')
-rw-r--r-- | features/data/cookbooks/delayed_notifications/recipes/invalid_forward_reference.rb | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/features/data/cookbooks/delayed_notifications/recipes/invalid_forward_reference.rb b/features/data/cookbooks/delayed_notifications/recipes/invalid_forward_reference.rb deleted file mode 100644 index d636611dc0..0000000000 --- a/features/data/cookbooks/delayed_notifications/recipes/invalid_forward_reference.rb +++ /dev/null @@ -1,16 +0,0 @@ - -# 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 |