From 9bef29232c1c7a6bbe644a8fbfe94348374eb51c Mon Sep 17 00:00:00 2001 From: Jesse Luehrs Date: Sat, 11 Jul 2020 02:09:31 -0400 Subject: pass through $content too --- modules/cron/manifests/job.pp | 1 + 1 file changed, 1 insertion(+) (limited to 'modules/cron') diff --git a/modules/cron/manifests/job.pp b/modules/cron/manifests/job.pp index 4f39287..0741378 100644 --- a/modules/cron/manifests/job.pp +++ b/modules/cron/manifests/job.pp @@ -3,6 +3,7 @@ define cron::job($frequency, $source = undef, $content = undef) { file { "/etc/cron.${frequency}/${name}": source => $source, + content => $content, mode => '0755'; } } -- cgit v1.2.3-54-g00ecf