validate parameters
This commit is contained in:
parent
bf16ec7bc7
commit
bf425e96b1
1 changed files with 4 additions and 0 deletions
|
@ -36,6 +36,10 @@ class sshd(
|
|||
$shorewall_source = 'net'
|
||||
) {
|
||||
|
||||
validate_bool($manage_shorewall)
|
||||
validate_array($listen_address)
|
||||
validate_array($ports)
|
||||
|
||||
class{'sshd::client':
|
||||
shared_ip => $sshd::shared_ip,
|
||||
ensure_version => $sshd::ensure_version,
|
||||
|
|
Loading…
Reference in a new issue