]> gitweb.fluxo.info Git - puppet-mpd.git/commitdiff
Sets hour and minute for mpd::maintenance cronjob
authorSilvio Rhatto <rhatto@riseup.net>
Thu, 19 May 2016 17:53:49 +0000 (14:53 -0300)
committerSilvio Rhatto <rhatto@riseup.net>
Thu, 19 May 2016 17:53:49 +0000 (14:53 -0300)
manifests/maintenance.pp

index 09b41f02c371d4bc5b72bac76bea15024791472d..3d82a4c1448d39f16abd10d180d69e12d0ca7e08 100644 (file)
@@ -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,