Hello Alfredo,
I haven’t tried that myself
but you should be able to use the !aggregate tag of the yamlex renderer
http://docs.saltstack.com/en/latest/ref/renderers/all/salt.renderers.yamlex.html
something along those lines:
group1.sls:
#!yamlex
sensu:
client:
subscriptions: !aggregate
- mysubscription-group
group2.sls
#!yamlex
sensu:
client:
option1: value1
foo: bar
subscriptions: !aggregate
- mysubscription-group2
You maybe also need to set the pillar source merging strategy to aggregate http://docs.saltstack.com/en/latest/ref/configuration/master.html#pillar-source-merging-strategy
31. März 2015 19:22
--
You received this message because you are subscribed to the Google Groups "Salt-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to salt-users+...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.