From 83d43e71381faffe215c4ffc0f361d4ba704b689 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Sat, 19 Jan 2013 16:11:29 -0200 Subject: Upgrading for 2.7 compatibility --config --- manifests/init.pp | 7 +++---- 1 file 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, -- cgit v1.2.3