Skip to content

Commit 3de8b3b

Browse files
committed
Merge pull request #234 from bastelfreak/update-readme
extend Readme for a simple client
2 parents 9f2dd0d + 2be7648 commit 3de8b3b

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

README.markdown

+16
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,22 @@ class { '::ntp':
6767
}
6868
```
6969

70+
###I just want to install a client that can't be queried
71+
72+
```puppet
73+
class { '::ntp':
74+
servers => ['ntp1.corp.com', 'ntp2.corp.com'],
75+
restrict => [
76+
'default ignore',
77+
'-6 default ignore',
78+
'127.0.0.1',
79+
'-6 ::1',
80+
'ntp1.corp.com nomodify notrap nopeer noquery',
81+
'ntp1.corp.com nomodify notrap nopeer noquery'
82+
],
83+
}
84+
```
85+
7086
###I only want to listen on specific interfaces, not on 0.0.0.0
7187

7288
Restricting this is especially useful on Openstack nodes which may have numerous virtual interfaces.

0 commit comments

Comments
 (0)