Skip to content

Commit

Permalink
fix(config_ini): stop failing after the first application
Browse files Browse the repository at this point in the history
The module is called `ini_manage` but the state prefix is `ini`.
  • Loading branch information
OrangeDog authored Jun 4, 2020
1 parent 54d75b5 commit c7777c7
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions openssh/config_ini.sls
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ sshd_config-with-ini:
- repl: '\1 \2'
- show_changes: True
- require_in:
- ini_manage: sshd_config-with-ini
- ini: sshd_config-with-ini
{%- endif %}
ini.options_present:
Expand All @@ -27,6 +27,4 @@ sshd_config-with-ini:
{%- for k,v in sshd_config.items() %}
{{ k }}: '{{ v }}'
{%- endfor %}
- require:
- file: sshd_config-with-ini
{%- endif %}

0 comments on commit c7777c7

Please sign in to comment.