feat: manage timezone per region
- add timezone module - set per-region timezone setting - setup hiera_classes, set to deep merge, and set to include all in base profile
This commit is contained in:
@@ -1,5 +1,8 @@
|
||||
---
|
||||
lookup_options:
|
||||
hiera_classes:
|
||||
merge:
|
||||
strategy: deep
|
||||
profiles::packages::install:
|
||||
merge:
|
||||
strategy: deep
|
||||
@@ -39,6 +42,9 @@ lookup_options:
|
||||
|
||||
facts_path: '/opt/puppetlabs/facter/facts.d'
|
||||
|
||||
hiera_classes:
|
||||
- timezone
|
||||
|
||||
profiles::ntp::client::ntp_role: 'roles::infra::ntp::server'
|
||||
profiles::ntp::client::peers:
|
||||
- 0.pool.ntp.org
|
||||
|
||||
@@ -0,0 +1,2 @@
|
||||
---
|
||||
timezone::timezone: 'Australia/Darwin'
|
||||
@@ -0,0 +1,2 @@
|
||||
---
|
||||
timezone::timezone: 'Australia/Sydney'
|
||||
Reference in New Issue
Block a user