diff options
Diffstat (limited to 'manifests/init.pp')
-rw-r--r-- | manifests/init.pp | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/manifests/init.pp b/manifests/init.pp index eec5e96..a402e9e 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -1,8 +1,6 @@ -class pmwiki { - - case $apache_www_folder { - '': { fail("you need to define \$apache_www_folder for pmwiki module") } - } +class pmwiki( + $www_folder = ${apache_www_folder} +) { file { "/usr/local/sbin/pmwiki": ensure => present, |