feat: add incus image host (#254)

- add role
- add consul service + checks
- manage the datavol as zfs
- insure the incus fact exists before attempting to read it

Reviewed-on: https://git.query.consul/unkinben/puppet-prod/pulls/254
This commit was merged in pull request #254.
This commit is contained in:
2025-04-24 01:00:39 +10:00
parent bfda2b628b
commit c24babe309
3 changed files with 152 additions and 5 deletions
@@ -0,0 +1,10 @@
# a role to deploy a incus image server
class roles::infra::incus::imagehost {
if $facts['firstrun'] {
include profiles::defaults
include profiles::firstrun::init
}else{
include profiles::defaults
include profiles::base
}
}