spec/integration/recipes/default.rb in itamae-1.1.23 vs spec/integration/recipes/default.rb in itamae-1.1.24

- old
+ new

@@ -1,5 +1,9 @@ +node.reverse_merge!({ + message: "Hello, Itamae" +}) + include_recipe "./included.rb" include_recipe "./included.rb" # including the same recipe is expected to be skipped. user "create itamae user" do uid 123 @@ -202,10 +206,10 @@ end ##### define :definition_example, key: 'default' do - execute "echo 'name:#{params[:name]},key:#{params[:key]}' > /tmp/created_by_definition" + execute "echo 'name:#{params[:name]},key:#{params[:key]},message:#{node[:message]}' > /tmp/created_by_definition" end definition_example "name" do key 'value' end