diff options
| author | Silvio Rhatto <rhatto@riseup.net> | 2013-01-19 18:24:39 -0200 |
|---|---|---|
| committer | Silvio Rhatto <rhatto@riseup.net> | 2013-01-19 18:24:39 -0200 |
| commit | e3a147b3e4f749ac24c9cf05d79e95172d1a255d (patch) | |
| tree | 3cb67af6cccddb535fed7e52e0d408b6fd50b4fc | |
| parent | 18e3564297a235f34ba7d3dad8fad8f04c1f23cb (diff) | |
| download | puppet-mpd-e3a147b3e4f749ac24c9cf05d79e95172d1a255d.tar.gz puppet-mpd-e3a147b3e4f749ac24c9cf05d79e95172d1a255d.tar.bz2 | |
Adding pattern for mpd service --config
| -rw-r--r-- | manifests/init.pp | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/manifests/init.pp b/manifests/init.pp index d929c06..581d286 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -4,8 +4,11 @@ class mpd { } service { 'mpd': - ensure => running, - require => Package['mpd'], + ensure => running, + enable => true, + hasstatus => false, + pattern => '/usr/bin/mpd', + require => Package['mpd'], } file { '/etc/mpd.conf': |
