diff options
author | Georg Pfuetzenreuter | 2023-02-12 02:30:56 +0100 |
---|---|---|
committer | Georg Pfuetzenreuter | 2023-02-12 02:30:56 +0100 |
commit | b0612658852a50a846a85a095c7c673c6d007cf4 (patch) | |
tree | 3e88550ebbf88430b780925840e92ea1bccfb7f8 | |
parent | 8fbfd38ec3c9ba187e8d8c732b607abc998eaff9 (diff) | |
download | salt-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>
-rw-r--r-- | salt/profile/matterbridge/files/etc/matterbridge/matterbridge.toml.j2 | 2 |
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 }} |