Skip to content

Instantly share code, notes, and snippets.

@scottslowe
Created November 25, 2012 05:09
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 scottslowe/4142468 to your computer and use it in GitHub Desktop.
Save scottslowe/4142468 to your computer and use it in GitHub Desktop.
Simple file-package-service Puppet manifest
file { "ntp.conf" :
path => "/etc/ntp.conf",
owner => "root",
group => "root",
mode => 644,
source => "puppet:///modules/ntp/ntp.conf",
}
package { "ntp":
ensure => installed,
}
service { "ntp":
require => File["ntp.conf"],
subscribe => File["ntp.conf"],
ensure => running,
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment