Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

suggestion: document pillar logic #6

Open
shawnbutts opened this issue Oct 28, 2013 · 2 comments
Open

suggestion: document pillar logic #6

shawnbutts opened this issue Oct 28, 2013 · 2 comments

Comments

@shawnbutts
Copy link
Contributor

it would be helpful to have some examples of logic in the pillar file.

i.e. adding a user to only one host, enabling sudo for a user on only some hosts, etc.

@erchn
Copy link

erchn commented Nov 14, 2013

Agreed on the logic suggestions. From what I can see there is no way to enable sudo on only one host, without more templating in the pillar file.

I'm also not quite clear how I should apply the pillar data to a given node, along with 'buser' and 'cuser', but not have to duplicate the data for application to another node which shouldn't have the b and c users.

@wwentland
Copy link
Contributor

@shawnbutts You might be interested in https://github.com/saltstack-formulas/reverse-users-formula that allows user definitions in a user/hosts rather than host/users manner.

aboe76 pushed a commit that referenced this issue Jun 2, 2016
Pull changes from main repo.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants