Manage configuration of ntp servers in a hierarchical nodes structure, with possibilities to override values
####Table of Contents
- Overview
- Module Description - What the module does and why it is useful
- Setup - The basics of getting started with [Modulename]
- Usage - Configuration options and additional functionality
##Overview This module manage ntp configuration in an environment where nodes are managed in a hierarchical structure.
##Module Description Module uses a define ntp::timeserver to include the ntp class by passing it the correct parameters. The parameter of declared resource can be overriden in a more specialized node. This behavior can be done also by Hiera. If you use hiera this module is useless for you.
##Setup ntp::timeserver{'foo':}
##Usage timeserver override:
node generic_node {
ntp::timeserver{'foo':}
}
node specialized inherits generic_node {
Ntp::Timeserver['foo']{
timeserver1 => 'xxx.yyy'
}
}
- timeserver1 => ie.pool.ntp.org
- timeserver2 => 0.europe.pool.ntp.org