aboutsummaryrefslogtreecommitdiff
path: root/manifests
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2011-09-30 14:23:41 -0300
committerSilvio Rhatto <rhatto@riseup.net>2011-09-30 14:23:41 -0300
commit1ced786ff499f44a610924ceb209f6991bbffa14 (patch)
tree47fe12a8d9215cdf0b4952148f5d2a790f01981b /manifests
parent2b240fa55869f35b80b30dd73400d11893f4b5df (diff)
downloadpuppet-drupal-1ced786ff499f44a610924ceb209f6991bbffa14.tar.gz
puppet-drupal-1ced786ff499f44a610924ceb209f6991bbffa14.tar.bz2
Adding drupal install
Diffstat (limited to 'manifests')
-rw-r--r--manifests/init.pp4
1 files changed, 4 insertions, 0 deletions
diff --git a/manifests/init.pp b/manifests/init.pp
index 176b352..aa5578d 100644
--- a/manifests/init.pp
+++ b/manifests/init.pp
@@ -4,6 +4,10 @@ class drupal inherits pear {
'': { fail("you need to define \$apache_www_folder for drupal module") }
}
+ case $apache_sites_folder {
+ '': { fail("you need to define \$apache_sites_folder for drupal module") }
+ }
+
# We use drupal source from upstream
package { "drupal6":
ensure => absent,