Disable PEERDNS in ntpd class on CentOS and Fedora
This commit is contained in:
parent
c472f5250a
commit
9bd88b5f4e
1 changed files with 9 additions and 0 deletions
|
@ -34,6 +34,15 @@ class ntpd {
|
|||
}
|
||||
}
|
||||
|
||||
case $operatingsystem {
|
||||
"centos","fedora": {
|
||||
augeas { "disable-peerntp":
|
||||
context => "/files/etc/sysconfig/network",
|
||||
changes => "set PEERNTP no",
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue