From c2bd93bc7e8ce6f6156f63616c0ff0f9714c3ef3 Mon Sep 17 00:00:00 2001 From: Dan Fandrich Date: Thu, 24 Oct 2024 14:47:11 -0700 Subject: Remove Bugzilla's robots.txt content from Puppet This file comes from the Bugzilla repo so we don't want two sources of truth for the same file. All we do now in Puppet is ensure its permissions are correct. --- modules/bugzilla/manifests/init.pp | 4 +--- modules/bugzilla/templates/robots.txt | 9 --------- 2 files changed, 1 insertion(+), 12 deletions(-) delete mode 100644 modules/bugzilla/templates/robots.txt (limited to 'modules/bugzilla') diff --git a/modules/bugzilla/manifests/init.pp b/modules/bugzilla/manifests/init.pp index c03b1a6a..fdba14de 100755 --- a/modules/bugzilla/manifests/init.pp +++ b/modules/bugzilla/manifests/init.pp @@ -99,8 +99,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 +108,6 @@ class bugzilla { mode => '0640' } - file { [ "$bugzilla_location/admin.cgi", "$bugzilla_location/attachment.cgi", 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* -- cgit v1.2.1