diff options
author | Jani Välimaa <wally@mageia.org> | 2025-05-04 12:40:32 +0300 |
---|---|---|
committer | Jani Välimaa <wally@mageia.org> | 2025-05-04 12:40:32 +0300 |
commit | c4677d4637ac0277f24747762d549f467b4ae43d (patch) | |
tree | 57c219c009c6d061cae61e703a228a89cf600fec /modules/phpbb/manifests/base.pp | |
parent | f6411954df2c29bec5db57c10caf02a99cc5dc1c (diff) | |
download | puppet-c4677d4637ac0277f24747762d549f467b4ae43d.tar puppet-c4677d4637ac0277f24747762d549f467b4ae43d.tar.gz puppet-c4677d4637ac0277f24747762d549f467b4ae43d.tar.bz2 puppet-c4677d4637ac0277f24747762d549f467b4ae43d.tar.xz puppet-c4677d4637ac0277f24747762d549f467b4ae43d.zip |
Add robots.txt for forums
Diffstat (limited to 'modules/phpbb/manifests/base.pp')
-rw-r--r-- | modules/phpbb/manifests/base.pp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/modules/phpbb/manifests/base.pp b/modules/phpbb/manifests/base.pp index 82340c7d..9f676cb4 100644 --- a/modules/phpbb/manifests/base.pp +++ b/modules/phpbb/manifests/base.pp @@ -29,6 +29,15 @@ class phpbb::base { ensure => directory, } + $robotsfile = "$forums_dir/robots.txt" + file { $robotsfile: + ensure => present, + mode => '0644', + owner => root, + group => root, + source => 'puppet:///modules/phpbb/robots.txt', + } + # TODO check that everything is locked down apache::vhost::base { "forums.${::domain}": content => template('phpbb/forums_vhost.conf'), |