aboutsummaryrefslogtreecommitdiff
path: root/manifests/init.pp
diff options
context:
space:
mode:
Diffstat (limited to 'manifests/init.pp')
-rw-r--r--manifests/init.pp18
1 files changed, 18 insertions, 0 deletions
diff --git a/manifests/init.pp b/manifests/init.pp
index 850f253..ceeea07 100644
--- a/manifests/init.pp
+++ b/manifests/init.pp
@@ -32,4 +32,22 @@ class drupal inherits pear {
ensure => present,
require => File['/usr/local/sbin/drupal'],
}
+
+ # Drupal shared folder
+ file { "/usr/local/share/drupal":
+ ensure => directory,
+ owner => root,
+ group => root,
+ mode => 755,
+ }
+
+ # Drupal makefile
+ file { "/usr/share/drupal/drupal.make":
+ ensure => present,
+ owner => root,
+ group => root,
+ mode => 755,
+ source => "puppet:///modules/drupal/drupal.make",
+ require => File['/usr/local/share/drupal'],
+ }
}