aboutsummaryrefslogtreecommitdiffstats
path: root/modules/bugzilla
diff options
context:
space:
mode:
Diffstat (limited to 'modules/bugzilla')
-rwxr-xr-xmodules/bugzilla/manifests/init.pp20
-rw-r--r--modules/bugzilla/templates/robots.txt9
2 files changed, 10 insertions, 19 deletions
diff --git a/modules/bugzilla/manifests/init.pp b/modules/bugzilla/manifests/init.pp
index c03b1a6a..e66ddf0e 100755
--- a/modules/bugzilla/manifests/init.pp
+++ b/modules/bugzilla/manifests/init.pp
@@ -83,7 +83,8 @@ class bugzilla {
require => Git::Snapshot[$bugzilla_location],
}
- file { "$bugzilla_location/data":
+ file { ["$bugzilla_location/data",
+ "$bugzilla_location/data/mining"]:
ensure => directory,
owner => 'apache',
group => 'apache',
@@ -99,8 +100,7 @@ class bugzilla {
file { "$bugzilla_location/robots.txt":
group => 'apache',
- mode => '0640',
- content => template('bugzilla/robots.txt')
+ mode => '0640'
}
file { "$bugzilla_location/data/bugzilla-update.xml":
@@ -109,7 +109,6 @@ class bugzilla {
mode => '0640'
}
-
file { [
"$bugzilla_location/admin.cgi",
"$bugzilla_location/attachment.cgi",
@@ -179,12 +178,13 @@ class bugzilla {
mode => '0750',
}
- cron { 'collectstats':
- command => "cd $bugzilla_location && ./collectstats.pl",
- user => 'apache',
- hour => 2,
- minute => 30,
- }
+# Improper file permissions makes this fail, and nobody seems to care
+# cron { 'collectstats':
+# command => "cd $bugzilla_location && ./collectstats.pl",
+# user => 'apache',
+# hour => 2,
+# minute => 30,
+# }
cron { 'clean-bug-user-last-visit':
command => "cd $bugzilla_location && ./clean-bug-user-last-visit.pl",
diff --git a/modules/bugzilla/templates/robots.txt b/modules/bugzilla/templates/robots.txt
deleted file mode 100644
index 50eeb279..00000000
--- a/modules/bugzilla/templates/robots.txt
+++ /dev/null
@@ -1,9 +0,0 @@
-User-agent: *
-Disallow: /
-Allow: /*index.cgi
-Allow: /*page.cgi
-Allow: /*show_bug.cgi
-Allow: /*describecomponents.cgi
-Disallow: /*show_bug.cgi*ctype=*
-Disallow: /*show_bug.cgi*format=multiple*
-Disallow: /*page.cgi*id=voting*