From b0612658852a50a846a85a095c7c673c6d007cf4 Mon Sep 17 00:00:00 2001 From: Georg Pfuetzenreuter Date: Sun, 12 Feb 2023 02:30:56 +0100 Subject: matterbridge: quote numbers Needed to make the TOML configuration format happy. Signed-off-by: Georg Pfuetzenreuter --- salt/profile/matterbridge/files/etc/matterbridge/matterbridge.toml.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'salt/profile/matterbridge/files') 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 }} -- cgit v1.2.3