Skip to content

Commit

Permalink
fix(scripts): ensure default value
Browse files Browse the repository at this point in the history
"present" is not a variable.

Signed-off-by: Georg Pfuetzenreuter <mail@georg-pfuetzenreuter.net>
  • Loading branch information
tacerus committed Feb 1, 2024
1 parent db5e740 commit e6a075e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion keepalived/scripts/manage.sls
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ keepalived-scripts-manage-file-directory:
{%- endif %}
{%- for script,data in keepalived.scripts|dictsort %}
{%- set ensure = data.get('ensure', present) %}
{%- set ensure = data.get('ensure', 'present') %}
{%- if ensure == 'present' %}
keepalived-scripts-manage-file-managed-{{ script }}:
file.managed:
Expand Down

0 comments on commit e6a075e

Please sign in to comment.