From 0c376beb5f8a499cd558315c358820bfc2f695e9 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Fri, 4 Feb 2022 16:28:23 -0300 Subject: Feat: support for custom pulseaudio configs --- manifests/all.pp | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/manifests/all.pp b/manifests/all.pp index 5c26afe..2ab41f8 100644 --- a/manifests/all.pp +++ b/manifests/all.pp @@ -10,7 +10,7 @@ class mpd::all { groups => [ 'audio', 'pulse', 'pulse-access' ], } - # In the past we ensured pulseaudio were running systemwide + # In the past we ensured pulseaudio ran systemwide # so both mpd and users can share audio control. # # This could be managed elsewhere. @@ -36,6 +36,10 @@ class mpd::all { group => root, mode => '0644', notify => Service['mpd'], - source => [ "puppet:///modules/mpd/default.pa" ], + source => [ + "puppet:///modules/site_mpd/default-${::hostname}.pa", + "puppet:///modules/site_mpd/default.pa", + "puppet:///modules/mpd/default.pa", + ], } } -- cgit v1.2.3