Skip to content

Commit

Permalink
Merge pull request #110 from alexjfisher/validation
Browse files Browse the repository at this point in the history
Add parameter validation to dhcp::host
  • Loading branch information
bastelfreak authored Sep 14, 2016
2 parents ee113d5 + 7be3260 commit f9b20b1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions manifests/host.pp
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
$comment=''
) {

validate_string($ip, $mac, $comment)
validate_hash($options)

$host = $name
Expand Down

0 comments on commit f9b20b1

Please sign in to comment.