Skip to content

Commit

Permalink
Merge pull request #4 from kartnico/tojson
Browse files Browse the repository at this point in the history
Non-Backward-Compatible Change to YAML Renderer
  • Loading branch information
myii authored Jul 9, 2019
2 parents a68c972 + 990a98f commit c1ea282
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions nut/server.sls
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ ups_conf:
- name: {{ nut.config_dir }}/{{ nut.server.ups.config }}
- source: salt://nut/templates/ups-conf.jinja
- context:
ups: {{ ups_config }}
ups: {{ ups_config | json }}
- template: jinja
- mode: 640
- user: root
Expand All @@ -37,7 +37,7 @@ upsd_conf:
- name: {{ nut.config_dir }}/{{ nut.server.upsd.config }}
- source: salt://nut/templates/upsd-conf.jinja
- context:
upsd: {{ upsd_config }}
upsd: {{ upsd_config | json }}
- template: jinja
- mode: 640
- user: root
Expand All @@ -54,7 +54,7 @@ upsd_users:
- name: {{ nut.config_dir }}/{{ nut.server.users.config}}
- source: salt://nut/templates/upsd-users.jinja
- context:
users: {{ upsd_users }}
users: {{ upsd_users | json }}
- template: jinja
- mode: 640
- user: root
Expand Down

0 comments on commit c1ea282

Please sign in to comment.