- 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
12 lines
271 B
Puppet
12 lines
271 B
Puppet
# 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
|
|
}
|
|
}
|