aboutsummaryrefslogtreecommitdiff
path: root/manifests/init.pp
diff options
context:
space:
mode:
Diffstat (limited to 'manifests/init.pp')
-rw-r--r--manifests/init.pp5
1 files changed, 5 insertions, 0 deletions
diff --git a/manifests/init.pp b/manifests/init.pp
index 1a8334a..dcfaa7f 100644
--- a/manifests/init.pp
+++ b/manifests/init.pp
@@ -1,4 +1,9 @@
class drupal inherits pear {
+
+ case $apache_www_folder {
+ '': { fail("you need to define \$apache_www_folder for drupal module") }
+ }
+
# We use drupal source from upstream
package { "drupal6":
ensure => absent,