validate parameters

This commit is contained in:
Tomas Barton 2014-01-27 00:16:27 +01:00
parent bf16ec7bc7
commit bf425e96b1

View file

@ -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,