From 7be326032a66424f7dd72b52810c4702f7a5315b Mon Sep 17 00:00:00 2001 From: Alexander Fisher Date: Mon, 12 Sep 2016 21:09:42 +0100 Subject: [PATCH] Add parameter validation to dhcp::host --- manifests/host.pp | 1 + 1 file changed, 1 insertion(+) diff --git a/manifests/host.pp b/manifests/host.pp index 7d19bff72..73fe9452a 100644 --- a/manifests/host.pp +++ b/manifests/host.pp @@ -7,6 +7,7 @@ $comment='' ) { + validate_string($ip, $mac, $comment) validate_hash($options) $host = $name