X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;f=modules%2Fntp%2Fmanifests%2Finit.pp;h=751e9d96ab4a03ce44654abb38e4efc1d6abcef0;hb=c3515fa2502698f50967878d0f5513f338891a8b;hp=26aa2d4f8fcb5ccd7168f5a9b0e3ee248f7621fa;hpb=3eb533e5499e66423bafdedaf6c7d08ead1772de;p=mirror%2Fdsa-puppet.git diff --git a/modules/ntp/manifests/init.pp b/modules/ntp/manifests/init.pp index 26aa2d4f8..751e9d96a 100644 --- a/modules/ntp/manifests/init.pp +++ b/modules/ntp/manifests/init.pp @@ -15,6 +15,11 @@ class ntp { rule => '&SERVICE(udp, 123)' } + file { '/etc/init.d/ntp': + source => 'puppet:///modules/ntp/ntp.init', + mode => '0555', + notify => Exec['systemctl daemon-reload'], + } file { '/var/lib/ntp': ensure => directory, owner => ntp, @@ -25,14 +30,14 @@ class ntp { file { '/etc/ntp.conf': content => template('ntp/ntp.conf'), notify => Service['ntp'], - require => Package['ntp'] + require => Package['ntp'], } file { '/etc/ntp.keys.d': ensure => directory, - group => ntp, + group => 'ntp', mode => '0750', notify => Service['ntp'], - require => Package['ntp'] + require => Package['ntp'], } if getfromhash($site::nodeinfo, 'timeserver') {