aboutsummaryrefslogtreecommitdiff
path: root/manifests
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2010-11-27 14:44:40 -0200
committerSilvio Rhatto <rhatto@riseup.net>2010-11-27 14:44:40 -0200
commit273d9ec6d4d3e4969fafa0f6df2e5c6c3fbf4e79 (patch)
tree13ee0efe0a172f35b4e747f00c2d73859580280c /manifests
parent9aae89a4a3ab2fd7e0e95ba683590a23609a736b (diff)
downloadpuppet-drupal-273d9ec6d4d3e4969fafa0f6df2e5c6c3fbf4e79.tar.gz
puppet-drupal-273d9ec6d4d3e4969fafa0f6df2e5c6c3fbf4e79.tar.bz2
Adding drupal makefile
Diffstat (limited to 'manifests')
-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'],
+ }
}