Skip to content

Instantly share code, notes, and snippets.

@moos3

moos3/symp.sls Secret

Last active August 29, 2015 14:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save moos3/76afa53b351cb90a4119 to your computer and use it in GitHub Desktop.
Save moos3/76afa53b351cb90a4119 to your computer and use it in GitHub Desktop.
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