diff --git a/ntpd/manifests/init.pp b/ntpd/manifests/init.pp index 6550a01..950a1f5 100644 --- a/ntpd/manifests/init.pp +++ b/ntpd/manifests/init.pp @@ -34,6 +34,15 @@ class ntpd { } } + case $operatingsystem { + "centos","fedora": { + augeas { "disable-peerntp": + context => "/files/etc/sysconfig/network", + changes => "set PEERNTP no", + } + } + } + }