syst0m
syst0m

Reputation: 391

Provisioning prometheus with saltstack

Using this formula:

https://github.com/bechtoldt/saltstack-prometheus-formula.git

for provisioning prometheus, I can't achieve convergence.

Fails pretty early on:

# salt prometheus-master state.apply test=True
prometheus-master:
    Data failed to compile:
----------
    No matching sls found for 'prometheus' in env 'base'
ERROR: Minions returned with non-zero exit code

Have 'prometheus' defined in bot states & pillars top.sls.

Upvotes: 1

Views: 881

Answers (1)

rothsa
rothsa

Reputation: 41

bechtoldt's formula requires additional code taken from his GitHub repository to work, formhelper, https://github.com/bechtoldt/salt-modules/blob/master/_modules/formhelper.py in https://github.com/bechtoldt/salt-modules which is his special way to manage pillars that gives him more flexibility to manage versions.

It is certainly not as straightforward as pillars are on their own, and you will need to understand that to operate the prometheus formula, so unfortunately it is not going to work out of the box.

Upvotes: 1

Related Questions