summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2017-06-05 19:06:37 -0300
committerSilvio Rhatto <rhatto@riseup.net>2017-06-05 19:06:37 -0300
commit0b6749e3fa3d24a98832c77ded4989ec0419bac0 (patch)
treea54d0689ac884408ed86097371eef180d90fa193
parent5cd5625c9455e17764df2c6a872a9d304ae182cd (diff)
downloadpuppet-mpd-0b6749e3fa3d24a98832c77ded4989ec0419bac0.tar.gz
puppet-mpd-0b6749e3fa3d24a98832c77ded4989ec0419bac0.tar.bz2
Changes for puppet 4 compatibility
-rw-r--r--manifests/all.pp4
-rw-r--r--manifests/init.pp2
2 files changed, 3 insertions, 3 deletions
diff --git a/manifests/all.pp b/manifests/all.pp
index acf8188..5c26afe 100644
--- a/manifests/all.pp
+++ b/manifests/all.pp
@@ -18,7 +18,7 @@ class mpd::all {
ensure => present,
owner => root,
group => root,
- mode => 0644,
+ mode => '0644',
notify => Service['mpd'],
source => [ "puppet:///modules/mpd/pulseaudio" ],
}
@@ -34,7 +34,7 @@ class mpd::all {
ensure => present,
owner => root,
group => root,
- mode => 0644,
+ mode => '0644',
notify => Service['mpd'],
source => [ "puppet:///modules/mpd/default.pa" ],
}
diff --git a/manifests/init.pp b/manifests/init.pp
index 209b55d..551662d 100644
--- a/manifests/init.pp
+++ b/manifests/init.pp
@@ -19,7 +19,7 @@ class mpd(
ensure => present,
owner => mpd,
group => audio,
- mode => 0640,
+ mode => '0640',
notify => Service['mpd'],
}