summaryrefslogtreecommitdiffstats
path: root/salt
diff options
context:
space:
mode:
authorGeorg Pfuetzenreuter2023-02-12 02:30:56 +0100
committerGeorg Pfuetzenreuter2023-02-12 02:30:56 +0100
commitb0612658852a50a846a85a095c7c673c6d007cf4 (patch)
tree3e88550ebbf88430b780925840e92ea1bccfb7f8 /salt
parent8fbfd38ec3c9ba187e8d8c732b607abc998eaff9 (diff)
downloadsalt-b0612658852a50a846a85a095c7c673c6d007cf4.tar.gz
salt-b0612658852a50a846a85a095c7c673c6d007cf4.tar.bz2
salt-b0612658852a50a846a85a095c7c673c6d007cf4.zip
matterbridge: quote numbers
Needed to make the TOML configuration format happy. Signed-off-by: Georg Pfuetzenreuter <mail@georg-pfuetzenreuter.net>
Diffstat (limited to 'salt')
-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 }}