From: Tomas Barton Date: Sun, 26 Jan 2014 23:16:27 +0000 (+0100) Subject: validate parameters X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=bf425e96b1acc9c17b51600aeecd34a1d91b62e7;p=puppet-sshd.git validate parameters --- diff --git a/manifests/init.pp b/manifests/init.pp index 307fc8a..fb76438 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -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,