diff options
author | Ryan Coleman <ryan@puppetlabs.com> | 2012-12-10 11:16:08 -0800 |
---|---|---|
committer | Ryan Coleman <ryan@puppetlabs.com> | 2012-12-10 11:16:08 -0800 |
commit | ef34330e6fdd3dd430b809089b552fb4e12486ea (patch) | |
tree | 9a808b7820388cfa014958c287fdb4721f346336 /templates/ntp.conf.debian.erb | |
parent | 621ed4d3d3cd1896dc649ede9324799bbba07e7f (diff) | |
parent | 13835e152e9bc93d2d48a4809aa39dbf8f492946 (diff) |
Merge pull request #34 from hunner/add_restrict
Add restrict parameter
Diffstat (limited to 'templates/ntp.conf.debian.erb')
-rw-r--r-- | templates/ntp.conf.debian.erb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/templates/ntp.conf.debian.erb b/templates/ntp.conf.debian.erb index 7a3f690..5d966f8 100644 --- a/templates/ntp.conf.debian.erb +++ b/templates/ntp.conf.debian.erb @@ -30,6 +30,7 @@ filegen clockstats file clockstats type day enable server <%= server %> <% end -%> +<% if @restrict -%> # Access control configuration; see /usr/share/doc/ntp-doc/html/accopt.html for # details. The web page <http://support.ntp.org/bin/view/Support/AccessRestrictions> # might also be helpful. @@ -50,6 +51,7 @@ restrict ::1 # cryptographically authenticated. #restrict 192.168.123.0 mask 255.255.255.0 notrust +<% end -%> # If you want to provide time to your local subnet, change the next line. # (Again, the address is an example only.) |