Merge "Disallow robots for wiki-dev site"
This commit is contained in:
commit
23451e661e
@ -407,6 +407,7 @@ node /^wiki-dev\d+\.openstack\.org$/ {
|
|||||||
wg_upgradekey => hiera('wg_upgradekey'),
|
wg_upgradekey => hiera('wg_upgradekey'),
|
||||||
wg_recaptchasitekey => hiera('wg_recaptchasitekey'),
|
wg_recaptchasitekey => hiera('wg_recaptchasitekey'),
|
||||||
wg_recaptchasecretkey => hiera('wg_recaptchasecretkey'),
|
wg_recaptchasecretkey => hiera('wg_recaptchasecretkey'),
|
||||||
|
disallow_robots => true,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -17,6 +17,7 @@ class openstack_project::wiki (
|
|||||||
$wg_recaptchasitekey = undef,
|
$wg_recaptchasitekey = undef,
|
||||||
$wg_recaptchasecretkey = undef,
|
$wg_recaptchasecretkey = undef,
|
||||||
$wg_googleanalyticsaccount = undef,
|
$wg_googleanalyticsaccount = undef,
|
||||||
|
$disallow_robots = undef,
|
||||||
) {
|
) {
|
||||||
|
|
||||||
package { ['openssl', 'ssl-cert', 'subversion']:
|
package { ['openssl', 'ssl-cert', 'subversion']:
|
||||||
@ -54,6 +55,7 @@ class openstack_project::wiki (
|
|||||||
wg_googleanalyticsaccount => $wg_googleanalyticsaccount,
|
wg_googleanalyticsaccount => $wg_googleanalyticsaccount,
|
||||||
wg_sitename => 'OpenStack',
|
wg_sitename => 'OpenStack',
|
||||||
wg_logo => "https://${site_hostname}/w/images/thumb/c/c4/OpenStack_Logo_-_notext.png/30px-OpenStack_Logo_-_notext.png",
|
wg_logo => "https://${site_hostname}/w/images/thumb/c/c4/OpenStack_Logo_-_notext.png/30px-OpenStack_Logo_-_notext.png",
|
||||||
|
disallow_robots => $disallow_robots,
|
||||||
}
|
}
|
||||||
class { 'memcached':
|
class { 'memcached':
|
||||||
max_memory => 2048,
|
max_memory => 2048,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user