diff --git a/sudoers/init.sls b/sudoers/init.sls index 592789e..8c6be9c 100644 --- a/sudoers/init.sls +++ b/sudoers/init.sls @@ -1,6 +1,7 @@ {% from "sudoers/map.jinja" import sudoers with context %} -##{%- set ad_groups = pillar.get('group_map:core', {}) %} -{%- set ad_groups = salt['pillar.get']('group_map:core') %} + +# our list of plos core active directory groups +{%- set ad_groups = salt['pillar.get']('group_map:core').keys() %} sudo: pkg.installed: