feat: add ntp server/client
- add ntp client and server class - add ntp server role - update hiera.yaml to work with enc_role - cleanup base profile
This commit is contained in:
@@ -1,11 +1,8 @@
|
||||
# this is the base class, which will be used by all servers
|
||||
class profiles::base (
|
||||
Array $ntp_servers,
|
||||
Array $puppet_servers,
|
||||
) {
|
||||
class { 'chrony':
|
||||
servers => $ntp_servers,
|
||||
}
|
||||
|
||||
case $facts['os']['family'] {
|
||||
'RedHat': {
|
||||
include profiles::yum::global
|
||||
@@ -31,6 +28,7 @@ class profiles::base (
|
||||
include profiles::base::scripts
|
||||
include profiles::base::hosts
|
||||
include profiles::accounts::sysadmin
|
||||
include profiles::ntp::client
|
||||
|
||||
# include the python class
|
||||
class { 'python':
|
||||
|
||||
Reference in New Issue
Block a user