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

index 4a9b27f994a20baec3b17a339a42cf68c9f5de27..c43164dcb7b06228c0b4b558cecdcf8059d614fe 100644 (file)
@@ -6,7 +6,7 @@ class drupal::drush(
     ensure => directory,
     owner  => root,
     group  => root,
-    mode   => 0644,
+    mode   => '0644',
   }
 
   # Drush default configuration
@@ -14,7 +14,7 @@ class drupal::drush(
     ensure  => present,
     owner   => root,
     group   => root,
-    mode    => 0644,
+    mode    => '0644',
     source  => 'puppet:///modules/drupal/drushrc.php',
     require => File['/etc/drush'],
   }
index a409c86cf115a46f7ff848fcf9fd2954dc74a648..0b7820007c7dfdca271bc49c6d22a44b921901f4 100644 (file)
@@ -23,7 +23,7 @@ class drupal {
     ensure => directory,
     owner    => 'drupal',
     group    => 'drupal',
-    mode     => 0750,
+    mode     => '0750',
     require  => User['drupal'],
   }
 
@@ -38,7 +38,7 @@ class drupal {
     source  => 'puppet:///modules/drupal/drupal',
     owner   => root,
     group   => root,
-    mode    => 755,
+    mode    => '755',
   }
 
   # Drupal shared folder
@@ -46,7 +46,7 @@ class drupal {
     ensure  => directory,
     owner   => root,
     group   => root,
-    mode    => 755,
+    mode    => '755',
   }
 
   # See https://drupal.org/SA-CORE-2013-003
@@ -54,7 +54,7 @@ class drupal {
   #  ensure  => present,
   #  owner   => root,
   #  group   => root,
-  #  mode    => 644,
+  #  mode    => '644',
   #  source  => "puppet:///modules/drupal/htaccess",
   #}
 
index 7251cd52e462711ae0b05761441b55aa26c84aaf..4aedadd7f93d0ac320578982f5520af265515ce2 100644 (file)
@@ -4,7 +4,7 @@ class drupal::makefiles {
     ensure  => absent,
     owner   => root,
     group   => root,
-    mode    => 644,
+    mode    => '644',
     source  => "puppet:///modules/drupal/drupal6.make",
     require => File['/usr/local/share/drupal'],
   }
@@ -14,7 +14,7 @@ class drupal::makefiles {
     ensure  => present,
     owner   => root,
     group   => root,
-    mode    => 644,
+    mode    => '644',
     source  => "puppet:///modules/drupal/drupal7.make",
     require => File['/usr/local/share/drupal'],
   }
@@ -24,7 +24,7 @@ class drupal::makefiles {
     ensure  => absent,
     owner   => root,
     group   => root,
-    mode    => 644,
+    mode    => '644',
     source  => "puppet:///modules/drupal/themes6.make",
     require => File['/usr/local/share/drupal'],
   }
@@ -34,7 +34,7 @@ class drupal::makefiles {
     ensure  => present,
     owner   => root,
     group   => root,
-    mode    => 644,
+    mode    => '644',
     source  => "puppet:///modules/drupal/themes7.make",
     require => File['/usr/local/share/drupal'],
   }