summaryrefslogtreecommitdiff
path: root/manifests/init.pp
diff options
context:
space:
mode:
authorAshley Penney <ashley.penney@puppetlabs.com>2013-08-08 09:55:32 -0700
committerAshley Penney <ashley.penney@puppetlabs.com>2013-08-08 09:55:32 -0700
commit52ff81b7d0debb91f0aa86c5933aa90d5008ded5 (patch)
tree70543afb7409c865d8c2cd79fcf9cf9517efc3b0 /manifests/init.pp
parente3feec2486002038b7d960e78a68cab747f2e731 (diff)
Convert restrict to an array of restrictions.
Instead of a boolean with hardcoded values we now just convert restrict into an array of lines related to restrictions.
Diffstat (limited to 'manifests/init.pp')
-rw-r--r--manifests/init.pp2
1 files changed, 1 insertions, 1 deletions
diff --git a/manifests/init.pp b/manifests/init.pp
index 2c8b9e4..be95118 100644
--- a/manifests/init.pp
+++ b/manifests/init.pp
@@ -31,7 +31,7 @@ class ntp (
validate_array($package_name)
validate_bool($panic)
validate_array($preferred_servers)
- validate_bool($restrict)
+ validate_array($restrict)
validate_array($servers)
validate_bool($service_enable)
validate_string($service_ensure)