diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2011-06-17 13:34:30 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2011-06-17 13:34:30 -0300 |
commit | 80c49351edc7f7a878a7e00392fdd28434bceefe (patch) | |
tree | 07991cfa78f05120d586540f8d62ce6371bf0037 /manifests | |
download | puppet-viewvc-80c49351edc7f7a878a7e00392fdd28434bceefe.tar.gz puppet-viewvc-80c49351edc7f7a878a7e00392fdd28434bceefe.tar.bz2 |
Initial import
Diffstat (limited to 'manifests')
-rw-r--r-- | manifests/init.pp | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/manifests/init.pp b/manifests/init.pp new file mode 100644 index 0000000..e59b66c --- /dev/null +++ b/manifests/init.pp @@ -0,0 +1,18 @@ +class viewvc { + case $viewvc_svn_roots { + '': { $viewvc_svn_roots = "svn: /var/lib/svn" } + } + + package { 'viewvc': + ensure => present, + } + + file { '/etc/viewvc/viewvc.conf': + ensure => present, + owner => root, + group => root, + mode => 0644, + content => template('viewvc/viewvc.conf.erb'), + require => Package['viewvc'], + } +} |