aboutsummaryrefslogtreecommitdiffstats
path: root/modules/bugzilla
diff options
context:
space:
mode:
authorDexter Morgan <dmorgan@mageia.org>2013-04-02 22:46:40 +0000
committerDexter Morgan <dmorgan@mageia.org>2013-04-02 22:46:40 +0000
commit3039c13c451d364ff3314ab9ab183d6cbb5dce3c (patch)
tree894479b396be74bbdb717e4edd2dd9681703783b /modules/bugzilla
parent4cdafdc42c14c9f259bb8ccd26e38889cf8a90f6 (diff)
downloadpuppet-3039c13c451d364ff3314ab9ab183d6cbb5dce3c.tar
puppet-3039c13c451d364ff3314ab9ab183d6cbb5dce3c.tar.gz
puppet-3039c13c451d364ff3314ab9ab183d6cbb5dce3c.tar.bz2
puppet-3039c13c451d364ff3314ab9ab183d6cbb5dce3c.tar.xz
puppet-3039c13c451d364ff3314ab9ab183d6cbb5dce3c.zip
Puppetize the bugzilla extensions
Diffstat (limited to 'modules/bugzilla')
-rw-r--r--modules/bugzilla/manifests/init.pp16
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',