2 |
|
|
3 |
$bugzilla_location = '/usr/share/bugzilla/template/en/custom' |
$bugzilla_location = '/usr/share/bugzilla/template/en/custom' |
4 |
|
|
5 |
|
$extension_location = '/usr/share/bugzilla/extensions' |
6 |
|
|
7 |
package {['bugzilla', |
package {['bugzilla', |
8 |
'bugzilla-extension-sitemap', |
'bugzilla-extension-sitemap', |
9 |
'graphviz', |
'graphviz', |
64 |
require => Subversion::Snapshot[$bugzilla_location], |
require => Subversion::Snapshot[$bugzilla_location], |
65 |
} |
} |
66 |
|
|
67 |
|
subversion::snapshot { $extension_location: |
68 |
|
source => 'svn://svn.mageia.org/svn/web/templates/bugzilla/extensions', |
69 |
|
require => Package['bugzilla'], |
70 |
|
} |
71 |
|
|
72 |
|
file { 'Mageia': |
73 |
|
ensure => directory, |
74 |
|
path => '/usr/share/bugzilla/extensions', |
75 |
|
group => 'apache', |
76 |
|
mode => '0640', |
77 |
|
recurse => true, |
78 |
|
require => Subversion::Snapshot[$extension_location], |
79 |
|
} |
80 |
|
|
81 |
file { '/usr/share/bugzilla/www/robots.txt': |
file { '/usr/share/bugzilla/www/robots.txt': |
82 |
group => 'apache', |
group => 'apache', |
83 |
mode => '0640', |
mode => '0640', |