aboutsummaryrefslogtreecommitdiffstats
path: root/modules/bugzilla/manifests
diff options
context:
space:
mode:
authorDexter Morgan <dmorgan@mageia.org>2012-07-05 12:55:18 +0000
committerDexter Morgan <dmorgan@mageia.org>2012-07-05 12:55:18 +0000
commite97a5d967bedc472cb975dc24dd80e659362775c (patch)
tree9616ba58c77b97baefc24d0e647061092bd4b533 /modules/bugzilla/manifests
parent36d446c202afb74b7bd6fa9ed6d78c16987c3fbb (diff)
downloadpuppet-e97a5d967bedc472cb975dc24dd80e659362775c.tar
puppet-e97a5d967bedc472cb975dc24dd80e659362775c.tar.gz
puppet-e97a5d967bedc472cb975dc24dd80e659362775c.tar.bz2
puppet-e97a5d967bedc472cb975dc24dd80e659362775c.tar.xz
puppet-e97a5d967bedc472cb975dc24dd80e659362775c.zip
make puppet handle robots.txt
Diffstat (limited to 'modules/bugzilla/manifests')
-rw-r--r--modules/bugzilla/manifests/init.pp7
1 files changed, 7 insertions, 0 deletions
diff --git a/modules/bugzilla/manifests/init.pp b/modules/bugzilla/manifests/init.pp
index 313ed6d3..83efa50d 100644
--- a/modules/bugzilla/manifests/init.pp
+++ b/modules/bugzilla/manifests/init.pp
@@ -60,4 +60,11 @@ class bugzilla {
recurse => true,
require => Subversion::Snapshot[$bugzilla_location],
}
+
+ file { '/usr/share/bugzilla/www/robots.txt':
+ group => 'apache',
+ mode => '0640',
+ content => template('bugzilla/robots.txt'),
+ require => Package['bugzilla-extension-sitemap'],
+ }
}