diff options
author | Dexter Morgan <dmorgan@mageia.org> | 2012-07-05 12:55:18 +0000 |
---|---|---|
committer | Dexter Morgan <dmorgan@mageia.org> | 2012-07-05 12:55:18 +0000 |
commit | e97a5d967bedc472cb975dc24dd80e659362775c (patch) | |
tree | 9616ba58c77b97baefc24d0e647061092bd4b533 /modules/bugzilla/manifests/init.pp | |
parent | 36d446c202afb74b7bd6fa9ed6d78c16987c3fbb (diff) | |
download | puppet-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/init.pp')
-rw-r--r-- | modules/bugzilla/manifests/init.pp | 7 |
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'], + } } |