From 8574ae3144b6bcd5995cf4772bbc479fa70ca29c Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Thu, 19 May 2016 14:53:49 -0300 Subject: Sets hour and minute for mpd::maintenance cronjob --- manifests/maintenance.pp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'manifests/maintenance.pp') diff --git a/manifests/maintenance.pp b/manifests/maintenance.pp index 09b41f0..3d82a4c 100644 --- a/manifests/maintenance.pp +++ b/manifests/maintenance.pp @@ -5,6 +5,8 @@ class mpd::maintenance inherits mpc::client::base { environment => "MPD_HOST=${password}@localhost" command => "/usr/bin/mpc update", user => "root", + hour => "7", + minute => "0", ensure => $password ? { '' => present, default => absent, -- cgit v1.2.3