From 92a64dfd757908218e0cad862a45aeab3f260ce2 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Tue, 5 Mar 2013 21:52:19 -0300 Subject: Managing mpd user for pulse access --- manifests/init.pp | 9 +++++++++ 1 file changed, 9 insertions(+) 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'], + } } -- cgit v1.2.3