Make class parameters required

These parameters are fed unconditionally into the config template, and
there is no sensible default that we can provide. This patch makes all
parameters required, except for $channels whose default the template is
prepared to handle.

Change-Id: I0a691c7d32316252a628438eb169b31134b42e5b
This commit is contained in:
Colleen Murphy 2015-08-13 18:26:36 -07:00
parent 179da46b2c
commit 083b70c395
1 changed files with 8 additions and 8 deletions

View File

@ -1,15 +1,15 @@
# == Class: statusbot
#
class statusbot(
$nick = '',
$password = '',
$server = '',
$nick,
$password,
$server,
$auth_nicks,
$wiki_user,
$wiki_password,
$wiki_url,
$wiki_pageid,
$channels = [],
$auth_nicks = '',
$wiki_user = '',
$wiki_password = '',
$wiki_url = '',
$wiki_pageid = '',
) {
user { 'statusbot':