From 910f7d64f708f22fecf228b54c1728f311bb5c39 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Mon, 5 Jun 2017 19:05:51 -0300 Subject: Changes for puppet 4 compatibility --- manifests/drush.pp | 4 ++-- manifests/init.pp | 8 ++++---- manifests/makefiles.pp | 8 ++++---- 3 files changed, 10 insertions(+), 10 deletions(-) (limited to 'manifests') 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'], } -- cgit v1.2.3