diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2013-03-08 11:52:12 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2013-03-08 11:52:12 -0300 |
commit | 8986162256f2ea6182d354b24af4db9480ccdc4f (patch) | |
tree | b83ff3d867ffc1e60fe7c4c225cdc33e811eb181 /manifests | |
parent | 503dc919f8db62a9888957b475ae4536202eaf9d (diff) | |
download | puppet-mpd-8986162256f2ea6182d354b24af4db9480ccdc4f.tar.gz puppet-mpd-8986162256f2ea6182d354b24af4db9480ccdc4f.tar.bz2 |
Managing pulseaudio config
Diffstat (limited to 'manifests')
-rw-r--r-- | manifests/init.pp | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/manifests/init.pp b/manifests/init.pp index 6cdd0d8..0bae454 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -39,4 +39,17 @@ class mpd::all { gid => 'audio', groups => [ 'pulse', 'pulse-access' ], } + + # Ensure pulseaudio is running systemwide so both mpd and users + # can share audio control. + # + # This could be managed elsewhere. + file { '/etc/default/pulseaudio': + ensure => present, + owner => root, + group => root, + mode => 0644, + notify => Service['mpd'], + source => [ "puppet:///modules/mpd/pulseaudio" ], + } } |