Manage etherpad-lite robots.txt.
Add a robots.txt file for etherpad lite. Disallow / because we are using the pretty URLs. Change-Id: Ic589923d142fe8c950534c4419582502bde98a3a Reviewed-on: https://review.openstack.org/14422 Reviewed-by: Monty Taylor <mordred@inaugust.com> Reviewed-by: Paul Belanger <paul.belanger@polybeacon.com> Approved: James E. Blair <corvus@inaugust.com> Tested-by: Jenkins
This commit is contained in:
parent
745cc18290
commit
33f59792c1
2
modules/etherpad_lite/files/robots.txt
Normal file
2
modules/etherpad_lite/files/robots.txt
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
User-agent: *
|
||||||
|
Disallow: /
|
@ -42,6 +42,15 @@ class etherpad_lite::site (
|
|||||||
require => Class['etherpad_lite']
|
require => Class['etherpad_lite']
|
||||||
}
|
}
|
||||||
|
|
||||||
|
file { "${etherpad_lite::base_install_dir}/etherpad-lite/src/static/robots.txt":
|
||||||
|
ensure => present,
|
||||||
|
source => 'puppet:///modules/etherpad_lite/robots.txt',
|
||||||
|
owner => $etherpad_lite::ep_user,
|
||||||
|
group => $etherpad_lite::ep_user,
|
||||||
|
mode => '0644',
|
||||||
|
require => Class['etherpad_lite'],
|
||||||
|
}
|
||||||
|
|
||||||
include logrotate
|
include logrotate
|
||||||
logrotate::file { 'epliteerror':
|
logrotate::file { 'epliteerror':
|
||||||
log => "${etherpad_lite::base_log_dir}/${etherpad_lite::ep_user}/error.log",
|
log => "${etherpad_lite::base_log_dir}/${etherpad_lite::ep_user}/error.log",
|
||||||
|
Loading…
Reference in New Issue
Block a user