aboutsummaryrefslogtreecommitdiff
path: root/manifests
diff options
context:
space:
mode:
authorTomas Barton <barton.tomas@gmail.com>2014-01-27 00:16:27 +0100
committerTomas Barton <barton.tomas@gmail.com>2014-01-27 00:16:27 +0100
commitbf425e96b1acc9c17b51600aeecd34a1d91b62e7 (patch)
treef83dcf203e6d3132a29b7c56974eeb1139112e18 /manifests
parentbf16ec7bc701ea7cfda7d64319920e3b9cca4a16 (diff)
downloadpuppet-sshd-bf425e96b1acc9c17b51600aeecd34a1d91b62e7.tar.gz
puppet-sshd-bf425e96b1acc9c17b51600aeecd34a1d91b62e7.tar.bz2
validate parameters
Diffstat (limited to 'manifests')
-rw-r--r--manifests/init.pp4
1 files changed, 4 insertions, 0 deletions
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,