Skip to content

Instantly share code, notes, and snippets.

@awaxa
Created February 2, 2016 21:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save awaxa/4c4b7cd958b2f853a515 to your computer and use it in GitHub Desktop.
Save awaxa/4c4b7cd958b2f853a515 to your computer and use it in GitHub Desktop.
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