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:
Paul Belanger 2016-02-24 16:29:55 -05:00 committed by Elizabeth K. Joseph
parent c476a68363
commit e1451e25ab
2 changed files with 3 additions and 3 deletions

View File

@ -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'),
}
}

View File

@ -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':