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:
2024-04-21 15:15:00 +10:00
parent ccf43f3bcb
commit 9c6dee7609
5 changed files with 14 additions and 0 deletions
+6
View File
@@ -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
+2
View File
@@ -0,0 +1,2 @@
---
timezone::timezone: 'Australia/Darwin'
+2
View File
@@ -0,0 +1,2 @@
---
timezone::timezone: 'Australia/Sydney'