diff options
author | Dan Fandrich <danf@mageia.org> | 2024-10-24 14:47:11 -0700 |
---|---|---|
committer | Dan Fandrich <danf@mageia.org> | 2024-10-24 14:49:35 -0700 |
commit | c2bd93bc7e8ce6f6156f63616c0ff0f9714c3ef3 (patch) | |
tree | 79524a0bde495011e1d03e9ad8370f5b9e422ff7 /modules | |
parent | 6cc136d2eedbfaa4fce17bb5903679e7d901247b (diff) | |
download | puppet-c2bd93bc7e8ce6f6156f63616c0ff0f9714c3ef3.tar puppet-c2bd93bc7e8ce6f6156f63616c0ff0f9714c3ef3.tar.gz puppet-c2bd93bc7e8ce6f6156f63616c0ff0f9714c3ef3.tar.bz2 puppet-c2bd93bc7e8ce6f6156f63616c0ff0f9714c3ef3.tar.xz puppet-c2bd93bc7e8ce6f6156f63616c0ff0f9714c3ef3.zip |
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.
Diffstat (limited to 'modules')
-rwxr-xr-x | modules/bugzilla/manifests/init.pp | 4 | ||||
-rw-r--r-- | modules/bugzilla/templates/robots.txt | 9 |
2 files changed, 1 insertions, 12 deletions
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* |