Skip to content

Instantly share code, notes, and snippets.

@nesv

nesv/sshd.sls Secret

Created April 24, 2015 21:54
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 nesv/253e3e826dc9b9a27f1b to your computer and use it in GitHub Desktop.
Save nesv/253e3e826dc9b9a27f1b to your computer and use it in GitHub Desktop.
codehotter
my_sshd_config:
file.managed:
- name: /etc/ssh/sshd_config
...
# Add the below, note the "watcH" requisite.
sshd_service:
service.running:
- name: sshd
- enable: True
- watch:
- file: my_sshd_config
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment