diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2013-03-05 21:52:19 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2013-03-05 21:52:19 -0300 |
commit | 92a64dfd757908218e0cad862a45aeab3f260ce2 (patch) | |
tree | a47cf22236030f7182f5382d6ddc931bfccbd8d7 | |
parent | 59d6c789b6646cc65ea2f8c9f29d74ddb394e567 (diff) | |
download | puppet-mpd-92a64dfd757908218e0cad862a45aeab3f260ce2.tar.gz puppet-mpd-92a64dfd757908218e0cad862a45aeab3f260ce2.tar.bz2 |
Managing mpd user for pulse access
-rw-r--r-- | manifests/init.pp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/manifests/init.pp b/manifests/init.pp index b2b8734..b6aa300 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -31,4 +31,13 @@ class mpd::client { class mpd::all { include mpd include mpd::client + + user { 'mpd': + ensure => present, + home => '/var/lib/mpd', + shell => '/bin/false', + gid => 'audio', + groups => [ 'pulse', 'pulse-access' ], + require => Group['mpd'], + } } |