feat: add vmagent role #356

Merged
unkinben merged 1 commits from benvin/vmagent_role into develop 2025-07-13 17:21:03 +10:00
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
}
}