summaryrefslogtreecommitdiff
path: root/manifests/params.pp
diff options
context:
space:
mode:
Diffstat (limited to 'manifests/params.pp')
-rw-r--r--manifests/params.pp7
1 files changed, 6 insertions, 1 deletions
diff --git a/manifests/params.pp b/manifests/params.pp
index ef037fc..6127393 100644
--- a/manifests/params.pp
+++ b/manifests/params.pp
@@ -8,7 +8,12 @@ class ntp::params {
$keys_trusted = []
$package_ensure = 'present'
$preferred_servers = []
- $restrict = true
+ $restrict = [
+ 'restrict default kod nomodify notrap nopeer noquery',
+ 'restrict -6 default kod nomodify notrap nopeer noquery',
+ 'restrict 127.0.0.1',
+ 'restrict -6 ::1',
+ ]
$service_enable = true
$service_ensure = 'running'
$service_manage = true