From: Silvio Rhatto Date: Wed, 6 Mar 2013 00:52:19 +0000 (-0300) Subject: Managing mpd user for pulse access X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=92a64dfd757908218e0cad862a45aeab3f260ce2;p=puppet-mpd.git Managing mpd user for pulse access --- 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'], + } }