spec/integration/recipes/default.rb in itamae-1.2.4 vs spec/integration/recipes/default.rb in itamae-1.2.5
- old
+ new
@@ -205,12 +205,10 @@
action :delete
end
#####
-define :definition_example, key: 'default' do
- execute "echo 'name:#{params[:name]},key:#{params[:key]},message:#{node[:message]}' > /tmp/created_by_definition"
-end
+include_recipe "define/default.rb"
definition_example "name" do
key 'value'
end