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
base: | |
'{{grains.fqdn }}*': | |
- ignore_missing: True | |
- common | |
- cmdb.{{ grains.fqdn|replace('.','_') }} | |
- hosts.{{ grains.fqdn|replace('.','_') }} |
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
#Salt state file to configure all the sysctl settings. | |
#defaults here, overridden via pillar data in the sysctl.[itemname] pillar. | |
#e.g. | |
#sysctl: | |
# net.ipv4.ip_forward: 1 | |
{% for setting in [ | |
{ 'k' : 'net.ipv4.ip_forward', 'v' : '0' }, | |
{ 'k' : 'net.ipv4.conf.all.send_redirects', 'v' : '0' }, | |
{ 'k' : 'net.ipv4.conf.default.send_redirects', 'v' : '0' } | |
] %} |