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':
## 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
## 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