From a9ea05f57d85bd1998ef72f221a9a7683465e976 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Wed, 30 Dec 2009 21:43:24 -0200 Subject: Variable check and README update --- manifests/init.pp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'manifests') 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, -- cgit v1.2.3