feat: sort ntpservers, select ntp to use

- sort the ntpservers array so it doesnt change each run of puppet
- allow the selection of all, region or country specific ntp servers
This commit is contained in:
2024-04-23 23:57:01 +10:00
parent e5b3112189
commit 7b316c6b0b
2 changed files with 15 additions and 7 deletions
+1
View File
@@ -46,6 +46,7 @@ hiera_classes:
- timezone
profiles::ntp::client::ntp_role: 'roles::infra::ntp::server'
profiles::ntp::client::use_ntp: 'region'
profiles::ntp::client::peers:
- 0.pool.ntp.org
- 1.pool.ntp.org