diff options
-rw-r--r-- | manifests/maintenance.pp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/manifests/maintenance.pp b/manifests/maintenance.pp index 8a65216..acd0471 100644 --- a/manifests/maintenance.pp +++ b/manifests/maintenance.pp @@ -1,7 +1,7 @@ class mpd::maintenance inherits mpd::client::base { $password = hiera('mpd::maintenance::password', '') - cron { "db_update": + cron { "mpd_db_update": environment => "MPD_HOST=${password}@localhost", command => "/usr/bin/mpc update > /dev/null", user => "root", |