I would like to have properties (computed attributes) for data from saltstack pillars:
We structure our systems like this:
systems: - customer: foo project: bar stage: p ... - customer: foo project: bar stage: q ...
I would like to compute a variable "system.name" like this:
From the above example I would get these two computes values:
- system.name = "foo_bar_p"
- system.name = "foo_bar_q"
I would be able to access
system.name just like
How to get this done?