Skip to content

Commit

Permalink
namespace extlib functions
Browse files Browse the repository at this point in the history
  • Loading branch information
mmoll authored and ekohl committed Dec 15, 2018
1 parent d8e263b commit aa54b96
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion manifests/agent/service/cron.pp
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
unless 'cron' in $::puppet::unavailable_runmodes {
if $enabled {
$command = pick($::puppet::cron_cmd, "${::puppet::puppet_cmd} agent --config ${::puppet::dir}/puppet.conf --onetime --no-daemonize")
$times = ip_to_cron($::puppet::runinterval)
$times = extlib::ip_to_cron($::puppet::runinterval)
cron { 'puppet':
command => $command,
user => root,
Expand Down
2 changes: 1 addition & 1 deletion manifests/agent/service/systemd.pp
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

if $enabled {
# Use the same times as for cron
$times = ip_to_cron($::puppet::runinterval)
$times = extlib::ip_to_cron($::puppet::runinterval)

$command = $::puppet::systemd_cmd ? {
undef => "${::puppet::puppet_cmd} agent --config ${::puppet::dir}/puppet.conf --onetime --no-daemonize --detailed-exitcode --no-usecacheonfailure",
Expand Down
2 changes: 1 addition & 1 deletion metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
},
{
"name": "puppet/extlib",
"version_requirement": ">= 0.11.3 < 4.0.0"
"version_requirement": ">= 3.0.0 < 4.0.0"
}
],
"requirements": [
Expand Down

0 comments on commit aa54b96

Please sign in to comment.