chore: update media roles for incus (#294)

- prevent incus roles from exporting haproxy endpoints (for now)
- incus doesnt need to mount cephfs

Reviewed-on: https://git.query.consul/unkinben/puppet-prod/pulls/294
This commit is contained in:
Ben Vincent 2025-05-24 18:59:46 +10:00
parent 520e8a34e0
commit 93cd02deec
2 changed files with 33 additions and 22 deletions

View File

@ -5,3 +5,12 @@ profiles::packages::include:
# disable mlock for vault nodes on lxd/incus # disable mlock for vault nodes on lxd/incus
vault::disable_mlock: true vault::disable_mlock: true
hiera_exclude:
# exclude the media profiles which are just cephfs-mount-management
- profiles::media::lidar
- profiles::media::nzbget
- profiles::media::prowlarr
- profiles::media::radarr
- profiles::media::readarr
- profiles::media::sonarr

View File

@ -13,6 +13,7 @@ class profiles::media::jellyfin (
Boolean $migrate_data = true, Boolean $migrate_data = true,
) { ) {
if $facts['virtual'] == 'lxc' {
include profiles::ceph::client include profiles::ceph::client
# manage the sharedvol # manage the sharedvol
@ -38,6 +39,7 @@ class profiles::media::jellyfin (
'fall 2', 'fall 2',
] ]
} }
}
mkdir::p {[$data_dir, $lib_dir, $cache_dir, $config_dir, $log_dir]:} mkdir::p {[$data_dir, $lib_dir, $cache_dir, $config_dir, $log_dir]:}
-> file { [$data_dir, $lib_dir, $cache_dir, $config_dir, $log_dir]: -> file { [$data_dir, $lib_dir, $cache_dir, $config_dir, $log_dir]: