ake-persson / pepa

Configuration templating for SaltStack using Hierarchical substitution and Jinja.
Other
14 stars 3 forks source link

Can this be combined with other pillars #10

Open blarghmatey opened 7 years ago

blarghmatey commented 7 years ago

This looks like a very interesting approach to solving the hierarchical override problem. Can it be combined with pillar data that is stored in a VCS repo and mounted via gitfs or hgfs? For example, is it possible to store all of the pepa templates in git and then apply the overrides on the master using the pepa ext pillar?

ake-persson commented 7 years ago

Pillars can be chained i.e. you can get input from another source before Pepa and then use those values inside Pepa. You can also store your templates inside Git but you need to check them out on the master somehow either by crontab or similar solution. There is no built-in support for Git inside Pepa. There are also quite a few alt. hierarchical plugins for Salt atm.