Created
February 27, 2018 07:17
-
-
Save lkthomas/d0c1cfcb31867a4b052fff86c8c756a1 to your computer and use it in GitHub Desktop.
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
{% set ethers_file_content = salt['grains.filter_by']({ | |
"uk02": { "ethers_content": " | |
1.7.1.1 00:00:00:00 | |
1.7.1.2 00:00:00:00 | |
" | |
} | |
}, merge=salt['pillar.get']('ethers_file_content'), grain="site") %} | |
ethers_file: | |
file.managed: | |
- name: /etc/ethers | |
- content: {{ ethers_file_content }} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment