summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--manifests/init.pp9
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'],
+ }
}