Skip to content
This repository was archived by the owner on Mar 28, 2019. It is now read-only.

Commit fde85b8

Browse files
committed
Merge pull request #225 from xaque208/agenttime
Move cron minute to class param
2 parents 6b789ee + b0b10d8 commit fde85b8

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

manifests/agent/cron.pp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
class puppet::agent::cron (
33
$enable = true,
44
$run_noop = false,
5+
$minute = fqdn_rand(60),
56
) {
67
include puppet::params
78

@@ -20,6 +21,6 @@
2021
cron { 'puppet agent':
2122
ensure => $ensure,
2223
command => $cmd,
23-
minute => fqdn_rand(60),
24+
minute => $minute,
2425
}
2526
}

0 commit comments

Comments
 (0)