aboutsummaryrefslogtreecommitdiff
path: root/manifests
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2009-12-30 21:43:24 -0200
committerSilvio Rhatto <rhatto@riseup.net>2009-12-30 21:43:24 -0200
commita9ea05f57d85bd1998ef72f221a9a7683465e976 (patch)
tree62cd51f69b975b78fad84694912a21948db7438a /manifests
parent70d738783e00ed1f3338fa33b99b1bfde2b3c949 (diff)
downloadpuppet-drupal-a9ea05f57d85bd1998ef72f221a9a7683465e976.tar.gz
puppet-drupal-a9ea05f57d85bd1998ef72f221a9a7683465e976.tar.bz2
Variable check and README update
Diffstat (limited to 'manifests')
-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,