Skip to content

Instantly share code, notes, and snippets.

@ody
Last active June 18, 2019 20:36
Show Gist options
  • Save ody/e772be0f72fee7407c800ffa6a5e4e9b to your computer and use it in GitHub Desktop.
Save ody/e772be0f72fee7407c800ffa6a5e4e9b to your computer and use it in GitHub Desktop.
plan ntp(
TargetSpec $nodes
) {
apply($nodes, _catch_errors => true, _run_as => root) {
class { 'ntp':
servers => [ 'ntp1.example.com', 'ntp2.example.com' ],
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment