diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2013-01-19 16:06:17 -0200 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2013-01-19 16:06:17 -0200 |
commit | f1d3d0c1f56967b61410d688bdb77bd6aa5ae1da (patch) | |
tree | f6fb51e7a8937db3474397f4a43ad42bb5f11fc2 /manifests | |
parent | 589373257c1d7fd8e864bbdad2c2085ea91f768c (diff) | |
download | puppet-pmwiki-f1d3d0c1f56967b61410d688bdb77bd6aa5ae1da.tar.gz puppet-pmwiki-f1d3d0c1f56967b61410d688bdb77bd6aa5ae1da.tar.bz2 |
Upgrading for 2.7 compatibility --config
Diffstat (limited to 'manifests')
-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, |