summaryrefslogtreecommitdiffstats
path: root/salt/profile/matterbridge/files
diff options
context:
space:
mode:
authorGeorg Pfuetzenreuter2023-02-12 02:33:30 +0100
committerGeorg Pfuetzenreuter2023-02-12 02:33:30 +0100
commit82e8ce4eb273a1016ab1613697a5a3eb821cffa5 (patch)
tree1ec32a79f3480c8c642a46eb8579b15dcef4e8c5 /salt/profile/matterbridge/files
parent586c7e3bc7b83dc18cdded7b12617682eb5f1b0c (diff)
parentb0612658852a50a846a85a095c7c673c6d007cf4 (diff)
downloadsalt-82e8ce4eb273a1016ab1613697a5a3eb821cffa5.tar.gz
salt-82e8ce4eb273a1016ab1613697a5a3eb821cffa5.tar.bz2
salt-82e8ce4eb273a1016ab1613697a5a3eb821cffa5.zip
Merge pull request 'matterbridge: quote numbers' (#18) from matterbridge-booleans into production
Reviewed-on: https://git.com.de/LibertaCasa/salt/pulls/18
Diffstat (limited to 'salt/profile/matterbridge/files')
-rw-r--r--salt/profile/matterbridge/files/etc/matterbridge/matterbridge.toml.j22
1 files changed, 1 insertions, 1 deletions
diff --git a/salt/profile/matterbridge/files/etc/matterbridge/matterbridge.toml.j2 b/salt/profile/matterbridge/files/etc/matterbridge/matterbridge.toml.j2
index b234c9f..2a1196d 100644
--- a/salt/profile/matterbridge/files/etc/matterbridge/matterbridge.toml.j2
+++ b/salt/profile/matterbridge/files/etc/matterbridge/matterbridge.toml.j2
@@ -14,7 +14,7 @@
{%- for account, config in accounts.items() %}
[{{ account }}]
{%- for option, value in config.items() %}
-{%- if value is string %}
+{%- if value is string or value is number %}
{%- set value = '"' ~ value ~ '"' %}
{%- endif %}
{{ option }}={{ value }}