summaryrefslogtreecommitdiff
path: root/manifests
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2017-06-05 19:06:08 -0300
committerSilvio Rhatto <rhatto@riseup.net>2017-06-05 19:06:08 -0300
commite3b916ab2ae3d834e4ab26cd19156c1a14162bfd (patch)
tree12bfd290211af34767385d34138ae1a7e660bc4a /manifests
parentc85f7b5ab0bb759a8f0b2dd0fa7292c6b639571f (diff)
downloadpuppet-etherpad-e3b916ab2ae3d834e4ab26cd19156c1a14162bfd.tar.gz
puppet-etherpad-e3b916ab2ae3d834e4ab26cd19156c1a14162bfd.tar.bz2
Changes for puppet 4 compatibility
Diffstat (limited to 'manifests')
-rw-r--r--manifests/init.pp10
1 files changed, 5 insertions, 5 deletions
diff --git a/manifests/init.pp b/manifests/init.pp
index f7630c1..eff7bb9 100644
--- a/manifests/init.pp
+++ b/manifests/init.pp
@@ -61,7 +61,7 @@ class etherpad(
ensure => present,
owner => root,
group => root,
- mode => 0755,
+ mode => '0755',
source => 'puppet:///modules/etherpad/init.d/etherpad-lite.sh',
require => Vcsrepo['/var/lib/etherpad-lite'],
}
@@ -70,7 +70,7 @@ class etherpad(
ensure => directory,
owner => 'etherpad-lite',
group => 'etherpad-lite',
- mode => 0755,
+ mode => '0755',
require => [ User['etherpad-lite'], Group['etherpad-lite'] ],
}
@@ -78,7 +78,7 @@ class etherpad(
ensure => present,
owner => root,
group => root,
- mode => 0644,
+ mode => '0644',
source => 'puppet:///modules/etherpad/logrotate.d/etherpad-lite',
require => File['/var/log/etherpad-lite'],
}
@@ -87,7 +87,7 @@ class etherpad(
ensure => present,
owner => 'etherpad-lite',
group => 'etherpad-lite',
- mode => 0640,
+ mode => '0640',
content => template('etherpad/settings.json.erb'),
require => Vcsrepo['/var/lib/etherpad-lite'],
notify => Service['etherpad-lite'],
@@ -98,7 +98,7 @@ class etherpad(
ensure => present,
owner => 'etherpad-lite',
group => 'etherpad-lite',
- mode => 0640,
+ mode => '0640',
content => "${api_key}",
require => Vcsrepo['/var/lib/etherpad-lite'],
notify => Service['etherpad-lite'],