]> gitweb.fluxo.info Git - puppet-viewvc.git/commitdiff
Upgrading for 2.7 compatibility --config
authorSilvio Rhatto <rhatto@riseup.net>
Sat, 19 Jan 2013 18:11:29 +0000 (16:11 -0200)
committerSilvio Rhatto <rhatto@riseup.net>
Sat, 19 Jan 2013 18:11:29 +0000 (16:11 -0200)
manifests/init.pp

index 2900952730336bb65bf9695986eb55ab6fc5c11c..2f93fac590987d4f10a6de7a8b09baeeeb63d7cc 100644 (file)
@@ -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,