chore: dont mount cephfs inside lxc #292

Merged
unkinben merged 1 commits from benvin/nomad_app_data_incus into develop 2025-05-22 21:06:16 +10:00
Showing only changes of commit c344f9a7e7 - Show all commits

View File

@ -33,16 +33,19 @@ class profiles::nomad::node (
if $client {
include profiles::ceph::client
if $facts['virtual'] != 'lxc' {
include profiles::ceph::client
# manage the sharedvol
profiles::storage::cephfsvol {"${::facts['networking']['fqdn']}_nomad":
mount => $nomad_root,
keyring => '/etc/ceph/ceph.client.nomad.keyring',
cephfs_name => 'nomad',
cephfs_fs => 'nomadfs',
require => Profiles::Ceph::Keyring['nomad'],
# manage the sharedvol
profiles::storage::cephfsvol {"${::facts['networking']['fqdn']}_nomad":
mount => $nomad_root,
keyring => '/etc/ceph/ceph.client.nomad.keyring',
cephfs_name => 'nomad',
cephfs_fs => 'nomadfs',
require => Profiles::Ceph::Keyring['nomad'],
}
}
}
file { $data_dir: