Skip to content

Commit

Permalink
Merge pull request #121 from gravyboat/master
Browse files Browse the repository at this point in the history
Change spaces to dashes in IDs for ssh.sls
  • Loading branch information
nmadhok committed Apr 10, 2015
2 parents 6d12e55 + d3adb68 commit 2a35c72
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions salt/ssh.sls
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
{% from "salt/map.jinja" import salt_settings with context %}
{% if salt_settings.install_packages %}
ensure salt-ssh is installed:
ensure-salt-ssh-is-installed:
pkg.installed:
- name: {{ salt_settings.salt_ssh }}
{% endif %}
ensure roster config:
ensure-roster-config:
file.managed:
- name: {{ salt_settings.config_path }}/roster
- source: salt://salt/files/roster.jinja
- template: jinja
{% if salt_settings.install_packages %}
- require:
- pkg: ensure salt-ssh is installed
- pkg: ensure-salt-ssh-is-installed
{% endif %}

0 comments on commit 2a35c72

Please sign in to comment.