aboutsummaryrefslogtreecommitdiff
path: root/manifests
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2017-06-05 19:05:51 -0300
committerSilvio Rhatto <rhatto@riseup.net>2017-06-05 19:05:51 -0300
commit910f7d64f708f22fecf228b54c1728f311bb5c39 (patch)
tree06c69efd82f0c98b8f0f4069fab5781c86086afb /manifests
parent69bbbebce848d0e07c73ffbbd64d10b3e569251a (diff)
downloadpuppet-drupal-910f7d64f708f22fecf228b54c1728f311bb5c39.tar.gz
puppet-drupal-910f7d64f708f22fecf228b54c1728f311bb5c39.tar.bz2
Changes for puppet 4 compatibility
Diffstat (limited to 'manifests')
-rw-r--r--manifests/drush.pp4
-rw-r--r--manifests/init.pp8
-rw-r--r--manifests/makefiles.pp8
3 files changed, 10 insertions, 10 deletions
diff --git a/manifests/drush.pp b/manifests/drush.pp
index 4a9b27f..c43164d 100644
--- a/manifests/drush.pp
+++ b/manifests/drush.pp
@@ -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'],
}
diff --git a/manifests/init.pp b/manifests/init.pp
index a409c86..0b78200 100644
--- a/manifests/init.pp
+++ b/manifests/init.pp
@@ -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",
#}
diff --git a/manifests/makefiles.pp b/manifests/makefiles.pp
index 7251cd5..4aedadd 100644
--- a/manifests/makefiles.pp
+++ b/manifests/makefiles.pp
@@ -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'],
}