spec/integration/recipes/default.rb in itamae-1.8.0 vs spec/integration/recipes/default.rb in itamae-1.9.0
- old
+ new
@@ -154,9 +154,20 @@
not_if "exit 0"
end
######
+http_request "/tmp/http_request.html" do
+ url "https://httpbin.org/get?from=itamae"
+end
+
+http_request "/tmp/http_request_headers.html" do
+ headers "User-Agent" => "Itamae"
+ url "https://httpbin.org/get"
+end
+
+######
+
service "cron" do
action :stop
end
execute "ps -C cron > /tmp/cron_stopped; true"