feat: add vmagent role
All checks were successful
Build / precommit (pull_request) Successful in 4m47s

- add vmagent role for vicmet
This commit is contained in:
Ben Vincent 2025-07-13 16:38:01 +10:00
parent 780a97dfe4
commit 150beff57e
2 changed files with 14 additions and 0 deletions

View File

@ -0,0 +1,4 @@
---
profiles::packages::include:
vmagent: {}
vmutils: {}

View File

@ -0,0 +1,10 @@
# a role to deploy victoria metrics vmagent
class roles::infra::metrics::vmagent {
if $facts['firstrun'] {
include profiles::defaults
include profiles::firstrun::init
}else{
include profiles::defaults
include profiles::base
}
}