diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2022-02-04 16:28:23 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2022-02-04 16:28:23 -0300 |
commit | 0c376beb5f8a499cd558315c358820bfc2f695e9 (patch) | |
tree | 97e63e4721106e70e2de05fe6a00f79c0184036e | |
parent | 1c7ebba5f33610d8588765ab536550d04ed44d1d (diff) | |
download | puppet-mpd-0c376beb5f8a499cd558315c358820bfc2f695e9.tar.gz puppet-mpd-0c376beb5f8a499cd558315c358820bfc2f695e9.tar.bz2 |
Feat: support for custom pulseaudio configs
-rw-r--r-- | manifests/all.pp | 8 |
1 files 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", + ], } } |