From: Silvio Rhatto Date: Fri, 8 Mar 2013 14:52:12 +0000 (-0300) Subject: Managing pulseaudio config X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=8986162256f2ea6182d354b24af4db9480ccdc4f;p=puppet-mpd.git Managing pulseaudio config --- 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" ], + } }