Created
February 2, 2016 21:57
-
-
Save awaxa/4c4b7cd958b2f853a515 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class ntp { | |
package { 'ntp': | |
ensure => present, | |
} | |
file { '/etc/ntp.conf': | |
ensure => file, | |
owner => 'root', | |
group => 'root', | |
mode => '0644', | |
source => 'puppet:///modules/ntp/ntp.conf', | |
} | |
service { 'ntpd': | |
ensure => running, | |
enable => true, | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment