From 302063b7a6781e0d26616f22c127877826569970 Mon Sep 17 00:00:00 2001 From: bellaweo Date: Wed, 15 Feb 2017 14:52:37 -0800 Subject: [PATCH] we only need the keys of the group_maps pillar --- sudoers/init.sls | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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: