From: Silvio Rhatto Date: Sat, 19 Jan 2013 18:11:29 +0000 (-0200) Subject: Upgrading for 2.7 compatibility --config X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=83d43e71381faffe215c4ffc0f361d4ba704b689;p=puppet-viewvc.git Upgrading for 2.7 compatibility --config --- 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,