spec/integration/recipes/default.rb in itamae-1.0.0.beta3 vs spec/integration/recipes/default.rb in itamae-1.0.0.beta4

- old
+ new

@@ -47,21 +47,22 @@ remote_file "/tmp/remote_file" do source "hello.txt" end directory "/tmp/directory" do - mode "0700" + mode "700" owner "vagrant" group "vagrant" end template "/tmp/template" do source "hello.erb" end file "/tmp/file" do content "Hello World" + mode "777" end execute "echo 'Hello Execute' > /tmp/execute" file "/tmp/never_exist1" do @@ -76,15 +77,18 @@ service "cron" do action :stop end -execute "ps axu | grep cron | grep -v grep > /tmp/cron_stopped; true" +execute "ps -C cron > /tmp/cron_stopped; true" service "cron" do action :start end -execute "ps axu | grep cron | grep -v grep > /tmp/cron_running; true" +execute "ps -C cron > /tmp/cron_running; true" ###### +link "/tmp-link" do + to "/tmp" +end