From 3039c13c451d364ff3314ab9ab183d6cbb5dce3c Mon Sep 17 00:00:00 2001 From: Dexter Morgan Date: Tue, 2 Apr 2013 22:46:40 +0000 Subject: Puppetize the bugzilla extensions --- modules/bugzilla/manifests/init.pp | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) (limited to 'modules/bugzilla') 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', -- cgit v1.2.1