diff --git a/templates/client.json.j2 b/templates/client.json.j2 index 3c86ff6..1e34cd5 100644 --- a/templates/client.json.j2 +++ b/templates/client.json.j2 @@ -1,3 +1,3 @@ {% from "templates/encoder/macros/json_encode_macro.j2" import json_encode with context -%} -{{ json_encode(sensu_client_config, convert_nums=true) }} +{{ json_encode(sensu_client_config, convert_bools=true, convert_nums=true) }} diff --git a/templates/config.json.j2 b/templates/config.json.j2 index 7ef325e..34675a3 100644 --- a/templates/config.json.j2 +++ b/templates/config.json.j2 @@ -1,3 +1,3 @@ {% from "templates/encoder/macros/json_encode_macro.j2" import json_encode with context -%} -{{ json_encode(sensu_config, convert_nums=true) }} +{{ json_encode(sensu_config, convert_bools=true, convert_nums=true) }} diff --git a/templates/rabbitmq.json.j2 b/templates/rabbitmq.json.j2 index 1957a5f..a15dad2 100644 --- a/templates/rabbitmq.json.j2 +++ b/templates/rabbitmq.json.j2 @@ -1,3 +1,3 @@ {% from "templates/encoder/macros/json_encode_macro.j2" import json_encode with context -%} -{{ json_encode(sensu_client_rabbitmq_config, convert_nums=true) }} +{{ json_encode(sensu_client_rabbitmq_config, convert_bools=true, convert_nums=true) }}