feat: add nomad agent role (#206)

- add nomad agent role
- mount cephfs volume nomadfs to /shared/nomad
- manage docker volume path to be /shared/nomad

Reviewed-on: https://git.query.consul/unkinben/puppet-prod/pulls/206
This commit was merged in pull request #206.
This commit is contained in:
2024-12-26 20:20:51 +11:00
parent 48e1fb8e30
commit 022a564dc0
8 changed files with 111 additions and 5 deletions
+11
View File
@@ -0,0 +1,11 @@
# a role to deploy a nomad agent
class roles::infra::nomad::agent {
if $facts['firstrun'] {
include profiles::defaults
include profiles::firstrun::init
}else{
include profiles::defaults
include profiles::base
include profiles::base::datavol
}
}