diff options
-rw-r--r-- | README | 6 | ||||
-rw-r--r-- | manifests/init.pp | 5 |
2 files changed, 7 insertions, 4 deletions
@@ -1,8 +1,6 @@ Puppet module for Drupal ======================== -This module has the following dependencies available at git.sarava.org that -should be included before puppet-drupal: +This module needs puppet-pear (available at git.sarava.org) to be included +before puppet-drupal. - - puppet-apache - - puppet-pear 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, |