Created
January 11, 2017 18:42
-
-
Save disaster123/2ab1260c9c31eee05b2a15816f009f49 to your computer and use it in GitHub Desktop.
pillar merging control
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File1: | |
ssh: | |
users: | |
root: | |
keys: | |
- user1 | |
- user2 | |
- user3 | |
- user4 | |
File2: | |
ssh: | |
users: | |
root: | |
__: overwrite | |
keys: | |
- user1 | |
- user2 | |
The result is this: | |
# salt-call pillar.items ssh:users:root | |
local: | |
---------- | |
ssh:users:root: | |
---------- | |
__: | |
overwrite | |
keys: | |
- user1 | |
- user2 | |
- user3 | |
- user4 | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment