Skip to content

Commit

Permalink
Merge pull request #119 from smlloyd/master
Browse files Browse the repository at this point in the history
Exclude require statement when install_packages is False.
  • Loading branch information
gravyboat committed Apr 9, 2015
2 parents 1f43b96 + 462455e commit 6d12e55
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion salt/ssh.sls
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ ensure roster config:
- name: {{ salt_settings.config_path }}/roster
- source: salt://salt/files/roster.jinja
- template: jinja
- require:
{% if salt_settings.install_packages %}
- require:
- pkg: ensure salt-ssh is installed
{% endif %}

0 comments on commit 6d12e55

Please sign in to comment.