From 8986162256f2ea6182d354b24af4db9480ccdc4f Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Fri, 8 Mar 2013 11:52:12 -0300 Subject: Managing pulseaudio config --- manifests/init.pp | 13 +++++++++++++ 1 file changed, 13 insertions(+) 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" ], + } } -- cgit v1.2.3