Cleanup mediawiki manifest lint parameter errors.
This patch aims to alleviate the 'parameterised class parameter without a default value' error that occurs in init.pp Change-Id: Ie13e49612966c122f0253f8a6e75cde53e265754 Reviewed-on: https://review.openstack.org/15779 Reviewed-by: Paul Belanger <paul.belanger@polybeacon.com> Reviewed-by: James E. Blair <corvus@inaugust.com> Approved: Jeremy Stanley <fungi@yuggoth.org> Reviewed-by: Jeremy Stanley <fungi@yuggoth.org> Tested-by: Jenkins
This commit is contained in:
parent
b9fcc621fb
commit
dd9f2c041b
@ -1,10 +1,11 @@
|
|||||||
# Class: mediawiki
|
# Class: mediawiki
|
||||||
#
|
#
|
||||||
class mediawiki(
|
class mediawiki(
|
||||||
$role,
|
$role = '',
|
||||||
$site_hostname,
|
$site_hostname = '',
|
||||||
$mediawiki_location = ''
|
$mediawiki_location = ''
|
||||||
) {
|
) {
|
||||||
|
|
||||||
if ($role == 'app' or $role == 'all') {
|
if ($role == 'app' or $role == 'all') {
|
||||||
require apache::dev
|
require apache::dev
|
||||||
include apache
|
include apache
|
||||||
|
Loading…
x
Reference in New Issue
Block a user