diff options
Diffstat (limited to 'pillar/top.sls')
-rw-r--r-- | pillar/top.sls | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pillar/top.sls b/pillar/top.sls index 37638b7..872dc8b 100644 --- a/pillar/top.sls +++ b/pillar/top.sls @@ -1,5 +1,5 @@ -{% set roles = salt['grains.get']('roles', []) %} -{% set id = salt['grains.get']('id') %} +{%- set id = salt['grains.get']('id') -%} +{%- set roles = salt['nbroles.get'](id) -%} {{ saltenv }}: '*': |