summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2013-01-19 16:11:29 -0200
committerSilvio Rhatto <rhatto@riseup.net>2013-01-19 16:11:29 -0200
commit83d43e71381faffe215c4ffc0f361d4ba704b689 (patch)
tree90d0d88c2d7cee20c40087c0b46bcdfc44dd95bb
parent1af25652c45c78434bc7e39631f01475d92d1ed1 (diff)
downloadpuppet-viewvc-83d43e71381faffe215c4ffc0f361d4ba704b689.tar.gz
puppet-viewvc-83d43e71381faffe215c4ffc0f361d4ba704b689.tar.bz2
Upgrading for 2.7 compatibility --config
-rw-r--r--manifests/init.pp7
1 files changed, 3 insertions, 4 deletions
diff --git a/manifests/init.pp b/manifests/init.pp
index 2900952..2f93fac 100644
--- a/manifests/init.pp
+++ b/manifests/init.pp
@@ -1,7 +1,6 @@
-class viewvc {
- case $viewvc_root_parents {
- '': { $viewvc_root_parents = "/var/lib/svn : svn" }
- }
+class viewvc(
+ $root_parents = "/var/lib/svn : svn"
+) {
package { 'viewvc':
ensure => present,