-
-
Save anonymous/c117f65009bf07346786 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
[root@salt salt]# cat cssd.sls | |
{% if grains["os"] == "RedHat" and grains["osmajorrelease"] == "6" %} | |
/etc/sysconfig/network: | |
file.managed: | |
- name: /etc/sysconfig/network | |
- user: root | |
- group: root | |
- mode: 644 | |
- makedirs: True | |
file.append: | |
- text: | |
- "NETWORKING_IPv6=\"no\"" | |
{% endif %} | |
[root@salt salt]# | |
[root@salt salt]# | |
[root@salt salt]# | |
[root@salt salt]# salt nagios.sam.example.edu state.sls cssd | |
nagios.sam.example.edu: | |
Data failed to compile: | |
---------- | |
ID '/etc/sysconfig/network' in SLS 'cssd' contains multiple state declarations of the same type |
gravyboat
commented
Aug 14, 2015
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment