]> gitweb.fluxo.info Git - puppet-etherpad.git/commitdiff
Changes for puppet 4 compatibility
authorSilvio Rhatto <rhatto@riseup.net>
Mon, 5 Jun 2017 22:06:08 +0000 (19:06 -0300)
committerSilvio Rhatto <rhatto@riseup.net>
Mon, 5 Jun 2017 22:06:08 +0000 (19:06 -0300)
manifests/init.pp

index f7630c1e60d0a9390077fe76725ce8eea9ed446f..eff7bb9f10aa5577e5df44ebeac216b383d9d28a 100644 (file)
@@ -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'],