summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2013-01-19 18:24:39 -0200
committerSilvio Rhatto <rhatto@riseup.net>2013-01-19 18:24:39 -0200
commite3a147b3e4f749ac24c9cf05d79e95172d1a255d (patch)
tree3cb67af6cccddb535fed7e52e0d408b6fd50b4fc
parent18e3564297a235f34ba7d3dad8fad8f04c1f23cb (diff)
downloadpuppet-mpd-e3a147b3e4f749ac24c9cf05d79e95172d1a255d.tar.gz
puppet-mpd-e3a147b3e4f749ac24c9cf05d79e95172d1a255d.tar.bz2
Adding pattern for mpd service --config
-rw-r--r--manifests/init.pp7
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':