diff options
Diffstat (limited to 'modules/bugzilla/manifests/init.pp')
-rw-r--r-- | modules/bugzilla/manifests/init.pp | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/modules/bugzilla/manifests/init.pp b/modules/bugzilla/manifests/init.pp index 2acb1d95..9f19272f 100644 --- a/modules/bugzilla/manifests/init.pp +++ b/modules/bugzilla/manifests/init.pp @@ -2,6 +2,8 @@ class bugzilla { $bugzilla_location = '/usr/share/bugzilla/template/en/custom' + $extension_location = '/usr/share/bugzilla/extensions' + package {['bugzilla', 'bugzilla-extension-sitemap', 'graphviz', @@ -62,6 +64,20 @@ class bugzilla { require => Subversion::Snapshot[$bugzilla_location], } + subversion::snapshot { $extension_location: + source => 'svn://svn.mageia.org/svn/web/templates/bugzilla/extensions', + require => Package['bugzilla'], + } + + file { 'Mageia': + ensure => directory, + path => '/usr/share/bugzilla/extensions', + group => 'apache', + mode => '0640', + recurse => true, + require => Subversion::Snapshot[$extension_location], + } + file { '/usr/share/bugzilla/www/robots.txt': group => 'apache', mode => '0640', |