wg_captchaquestions should be a hash for mediawiki
Here we are updating our defaults to have hiera store our question / answers for mediawiki captcha. Change-Id: Iff0c326401ed9a4c3b40f8d43826603e599dc4a4 Depends-On: I102ff6991831901c578dab4107b0c23245da9d4b Signed-off-by: Paul Belanger <pabelanger@redhat.com>
This commit is contained in:
parent
c476a68363
commit
e1451e25ab
@ -395,7 +395,7 @@ node 'wiki.openstack.org' {
|
||||
wg_dbpassword => hiera('wiki_wg_dbpassword'),
|
||||
wg_secretkey => hiera('wiki_wg_secretkey'),
|
||||
wg_upgradekey => hiera('wiki_wg_upgradekey'),
|
||||
wg_captchaquestions_answer => hiera('wiki_wg_captchaquestions_answer'),
|
||||
wg_captchaquestions => hiera('wiki_wg_captchaquestions'),
|
||||
wg_googleanalyticsaccount => hiera('wiki_wg_googleanalyticsaccount'),
|
||||
}
|
||||
}
|
||||
|
@ -9,7 +9,7 @@ class openstack_project::wiki (
|
||||
$wg_dbpassword = undef,
|
||||
$wg_secretkey = undef,
|
||||
$wg_upgradekey = undef,
|
||||
$wg_captchaquestions_answer = undef,
|
||||
$wg_captchaquestions = {},
|
||||
$wg_googleanalyticsaccount = undef,
|
||||
) {
|
||||
|
||||
@ -40,7 +40,7 @@ class openstack_project::wiki (
|
||||
wg_dbpassword => $wg_dbpassword,
|
||||
wg_secretkey => $wg_secretkey,
|
||||
wg_upgradekey => $wg_upgradekey,
|
||||
wg_captchaquestions_answer => $wg_captchaquestions_answer,
|
||||
wg_captchaquestions => $wg_captchaquestions,
|
||||
wg_googleanalyticsaccount => $wg_googleanalyticsaccount,
|
||||
}
|
||||
class { 'memcached':
|
||||
|
Loading…
Reference in New Issue
Block a user