]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/podman/recipes/default.rb
Fix alerting for failed chef runs
[chef.git] / cookbooks / podman / recipes / default.rb
index 84137a7a9960d44e2f6841fb1542b81f84ad8bd3..4c8257350f34cc659d70bbde6bb68efe44d0ff59 100644 (file)
@@ -41,19 +41,14 @@ ruby_block "subgid-containers" do
   not_if "grep -q '^containers:' /etc/subgid"
 end
 
   not_if "grep -q '^containers:' /etc/subgid"
 end
 
-service "podman-auto-update.timer" do
-  action [:enable, :start]
-end
-
-# Increase the frequency of podman auto updates
 systemd_timer "podman-auto-update-frequency" do
 systemd_timer "podman-auto-update-frequency" do
-  description "Increased podman auto update frequency"
-  unit "podman-auto-update.service"
+  timer "podman-auto-update"
+  dropin "frequency"
   on_boot_sec "5m"
   on_unit_inactive_sec "20m"
   randomized_delay_sec "5m"
 end
 
   on_boot_sec "5m"
   on_unit_inactive_sec "20m"
   randomized_delay_sec "5m"
 end
 
-service "podman-auto-update-frequency.timer" do
+service "podman-auto-update.timer" do
   action [:enable, :start]
 end
   action [:enable, :start]
 end