chore: dont mount cephfs inside lxc (#292)
- lxc instances will have cephfs passed from the host - skip cephfs mounting for lxc instances Reviewed-on: https://git.query.consul/unkinben/puppet-prod/pulls/292
This commit is contained in:
parent
89a0f329d8
commit
77d07672f8
@ -33,6 +33,7 @@ class profiles::nomad::node (
|
|||||||
|
|
||||||
if $client {
|
if $client {
|
||||||
|
|
||||||
|
if $facts['virtual'] != 'lxc' {
|
||||||
include profiles::ceph::client
|
include profiles::ceph::client
|
||||||
|
|
||||||
# manage the sharedvol
|
# manage the sharedvol
|
||||||
@ -45,6 +46,8 @@ class profiles::nomad::node (
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
file { $data_dir:
|
file { $data_dir:
|
||||||
ensure => directory,
|
ensure => directory,
|
||||||
owner => $user,
|
owner => $user,
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user