spec/integration/recipes/default.rb in itamae-1.0.0.beta27 vs spec/integration/recipes/default.rb in itamae-1.0.0.beta28
- old
+ new
@@ -105,11 +105,13 @@
execute "ps -C cron > /tmp/cron_running; true"
######
-package "nginx"
+package "nginx" do
+ options "--force-yes"
+end
service "nginx" do
action [:enable, :start]
end
@@ -154,7 +156,17 @@
#####
execute "echo 'notify to resource in default2.rb'" do
notifies :create, "file[put file in default2.rb]"
+end
+
+#####
+
+file "/tmp/should_not_exist" do
+ action :create
+end
+
+file "/tmp/should_not_exist" do
+ action :delete
end