Sha256: 90bed82e3abcfa24d6012dbc2461b2048ed283ea27f906eed72b83885a9d75af

Contents?: true

Size: 429 Bytes

Versions: 17

Compression:

Stored size: 429 Bytes

Contents

# Should never be executed, see comment below
execute("echo should-not-execute")

execute("echo foo") do
  # refers to the resource below but the syntax is wrong
  # expected behavior is for the reference to be resolved later
  # and the notification to work correctly
  notifies(:create, /file\[.*notified_file\.txt\]/) #regex isn't a valid argument here
end

file "#{node[:tmpdir]}/notified_file.txt" do
  action :nothing
end

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
cuken-0.1.22 features/data/cookbooks/delayed_notifications/recipes/bad_syntax_notifies.rb
cuken-0.1.21 features/data/cookbooks/delayed_notifications/recipes/bad_syntax_notifies.rb
cuken-0.1.20 features/data/cookbooks/delayed_notifications/recipes/bad_syntax_notifies.rb
cuken-0.1.19 features/data/cookbooks/delayed_notifications/recipes/bad_syntax_notifies.rb
cuken-0.1.18 features/data/cookbooks/delayed_notifications/recipes/bad_syntax_notifies.rb
cuken-0.1.17 features/data/cookbooks/delayed_notifications/recipes/bad_syntax_notifies.rb
cuken-0.1.16 features/data/cookbooks/delayed_notifications/recipes/bad_syntax_notifies.rb
cuken-0.1.15 features/data/cookbooks/delayed_notifications/recipes/bad_syntax_notifies.rb
cuken-0.1.13 features/data/cookbooks/delayed_notifications/recipes/bad_syntax_notifies.rb
cuken-0.1.12 features/data/cookbooks/delayed_notifications/recipes/bad_syntax_notifies.rb
cuken-0.1.11 features/data/cookbooks/delayed_notifications/recipes/bad_syntax_notifies.rb
cuken-0.1.10 features/data/cookbooks/delayed_notifications/recipes/bad_syntax_notifies.rb
cuken-0.1.9 features/data/cookbooks/delayed_notifications/recipes/bad_syntax_notifies.rb
cuken-0.1.8 features/data/cookbooks/delayed_notifications/recipes/bad_syntax_notifies.rb
cuken-0.1.7 features/data/cookbooks/delayed_notifications/recipes/bad_syntax_notifies.rb
cuken-0.1.4 features/data/cookbooks/delayed_notifications/recipes/bad_syntax_notifies.rb
cuken-0.1.2 features/data/cookbooks/delayed_notifications/recipes/bad_syntax_notifies.rb