feat: lxc cannot use chronyd

- ensure lxc nodes do not attempt to install chronyd
- ensure chrony is removed
This commit is contained in:
Ben Vincent 2025-04-24 23:15:27 +10:00
parent 9dcaafb8ba
commit 0fd3ae2923
2 changed files with 6 additions and 1 deletions

View File

@ -1 +1,4 @@
---
profiles::packages::include:
chrony:
ensure: absent

View File

@ -28,7 +28,9 @@ class profiles::base (
include profiles::base::groups
include profiles::base::root
include profiles::accounts::sysadmin
include profiles::ntp::client
if $facts['virtual'] != 'lxc' {
include profiles::ntp::client
}
include profiles::dns::base
include profiles::pki::vault
include profiles::ssh::sign