-
-
Save moos3/76afa53b351cb90a4119 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
symp: | |
pkg.repomanaged: | |
- humanname: Example repo | |
- baseurl: http://pkg.example.com/$releasever/$basearch/ | |
- enabled: 1 | |
- gpgcheck: 0 | |
sympnoarch: | |
pkg.repomanaged: | |
- humanname: Example NoArch | |
- baseurl: http://pkg.example.com/$releasever/noarch/ | |
- enabled: 1 | |
- gpgcheck: 0 | |
/root/.ssh/authorized_keys: | |
file.managed: | |
- source: salt://private/authorized_keys | |
/root/.ssh/known_hosts: | |
file.managed: | |
- source: salt://private/known_hosts | |
/etc/inputc: | |
file.managed: | |
- source: salt://files/etc/inputrc | |
/etc/bashrc: | |
file.managed: | |
- source: salt://files/etc/bashrc | |
/etc/profile: | |
file.managed: | |
- source: salt://files/etc/profile | |
/etc/ldap.conf: | |
file.managed: | |
- source: salt://files/etc/ldap.conf | |
/etc/nsswitch.conf: | |
file.managed: | |
- source: salt://files/etc/nsswitch.conf | |
/etc/openldap/ldap.conf: | |
file.managed: | |
- source: salt://files/etc/openldap/ldap.conf | |
/etc/pam.d/system-auth: | |
file.managed: | |
- source: salt://files/etc/pam.d/system-auth | |
/etc/profile.d/aliases.sh: | |
file.managed: | |
- source: salt://files/etc/profile.d/aliases.sh | |
/root/.bashrc: | |
file.managed: | |
- source: salt://private/.bashrc | |
/etc/cron.hourly/time.cron: | |
file.managed: | |
- source: salt://files/etc/cron.hourly/time.cron | |
/etc/rsyslog.conf: | |
file.managed: | |
- source: salt://files/etc/rsyslog.conf | |
/etc/sysconfig/selinux: | |
file.managed: | |
- source: salt://files/etc/sysconfig/selinux | |
{% if grains.get('hostname') != 'voip.example.com' or grains.get('role') != 'freeswitch' %} | |
iptables: | |
service: | |
- enable: False | |
- disabled: True | |
{% else %} | |
iptables: | |
service: | |
- enable: True | |
- disabled: False | |
{% endif %} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment