From: Silvio Rhatto Date: Fri, 17 Jun 2011 17:05:41 +0000 (-0300) Subject: Using root_parents instead of svn_roots X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=1af25652c45c78434bc7e39631f01475d92d1ed1;p=puppet-viewvc.git Using root_parents instead of svn_roots --- diff --git a/manifests/init.pp b/manifests/init.pp index e59b66c..2900952 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -1,6 +1,6 @@ class viewvc { - case $viewvc_svn_roots { - '': { $viewvc_svn_roots = "svn: /var/lib/svn" } + case $viewvc_root_parents { + '': { $viewvc_root_parents = "/var/lib/svn : svn" } } package { 'viewvc': diff --git a/templates/viewvc.conf.erb b/templates/viewvc.conf.erb index 2be6e2a..dff493c 100644 --- a/templates/viewvc.conf.erb +++ b/templates/viewvc.conf.erb @@ -104,7 +104,7 @@ ## svn_roots = svnrepos: /opt/svn/, ## anotherrepos: /usr/local/svn/repos2 ## -svn_roots = <%= viewvc_svn_roots %> +#svn_roots = sv: /var/lib/svn ## root_parents: Specifies a list of directories in which any number of ## repositories may reside. Rather than force you to add a new entry @@ -128,7 +128,7 @@ svn_roots = <%= viewvc_svn_roots %> ## root_parents = /opt/svn : svn, ## /opt/cvs : cvs ## -#root_parents = +root_parents = <%= viewvc_root_parents %> ## default_root: This is the name of the default root. Valid names ## include those explicitly listed in the cvs_roots and svn_roots