Added monetization
diff --git a/templates/silent-install.conf.j2 b/templates/silent-install.conf.j2
index 6ba02d0..c33eb11 100644
--- a/templates/silent-install.conf.j2
+++ b/templates/silent-install.conf.j2
@@ -60,7 +60,7 @@
 {% endif %}
 PG_PWD={{ pg_pass }}
 
-{% if opdk_monetization is defined and opdk_monetization %}
+{% if opdk_monetization is defined and opdk_monetization | bool %}
 # Monetization has been configured
 PG_USER={{ pg_user }}
 MO_PG_HOST={{ pgmaster_ip }}