Closed rahedges closed 8 years ago
I assume: johndoe;
with the semicolon instead of the colon is just a typo specifically in this issue? As is the missing '
in - 'All=(ALL) ALL
?
salt 'host' pillar.get sudoers
When I run the comand:
sudo salt 'pbp' pillar.get sudoers
the response is:
pbp:
And then if i run
sudo salt 'pbp' pillar.items
The response is:
pbp:
----------
Also the /etc/sudoers file is unchanged.
Your host isn't getting pillars, why it's not could be any different reason.
@djibi2, by any chance are you using jinja2 v2.2.1 as in issue #6 ? If so, you may want to try the workaround from the comment made by jcross-linkup.
There was a configuration issue with my general setup that was preventing me from seeing the pillar data. It had nothing to do with this formula.
I have a top.sls file:
And as a test I have a pillar file in /srv/salt/pillar/sudoers/init.sls
When I run the highstate I see this output:
On my minion it shows a sudoes file that is managed by salt, but it does not have the additional users in my pillar data. I realize this is may be a fundamental error, but I've tried several things and can't seem to get the pillar data included.
Thanks, Robert