diff options
author | Jesse Luehrs <doy@tozt.net> | 2023-03-27 06:17:01 -0400 |
---|---|---|
committer | Jesse Luehrs <doy@tozt.net> | 2023-03-27 06:17:01 -0400 |
commit | 0ef7daf1f858090ba6599cb92071a2dfcc25644f (patch) | |
tree | 01dfca011de30b1cd495757fe0129b5406697af8 | |
parent | d09fd38f86308f205f8ed73f34b382ded476ed95 (diff) | |
download | puppet-tozt-0ef7daf1f858090ba6599cb92071a2dfcc25644f.tar.gz puppet-tozt-0ef7daf1f858090ba6599cb92071a2dfcc25644f.zip |
make individual cronjobs depend on godwrap
-rw-r--r-- | modules/cron/manifests/init.pp | 2 | ||||
-rw-r--r-- | modules/cron/manifests/job.pp | 1 |
2 files changed, 1 insertions, 2 deletions
diff --git a/modules/cron/manifests/init.pp b/modules/cron/manifests/init.pp index d715a86..b1fd335 100644 --- a/modules/cron/manifests/init.pp +++ b/modules/cron/manifests/init.pp @@ -1,6 +1,4 @@ class cron { - include godwrap - $from = "${facts['networking']['hostname']}-cron" $password = secret::value('cron_email_password') diff --git a/modules/cron/manifests/job.pp b/modules/cron/manifests/job.pp index 41fc7f6..749402b 100644 --- a/modules/cron/manifests/job.pp +++ b/modules/cron/manifests/job.pp @@ -1,5 +1,6 @@ define cron::job($frequency, $source = undef, $content = undef, $ensure = undef) { require cron + require godwrap file { "/etc/cronjobs/${name}": |