Fix versions: casting float to string
diff --git a/postgresql/map.jinja b/postgresql/map.jinja
index 12c33e7..901d890 100644
--- a/postgresql/map.jinja
+++ b/postgresql/map.jinja
@@ -7,7 +7,7 @@
{%- set default_version = '9.5' %}
{%- endif %}
-{%- set version = pillar.postgresql.server.get('version', default_version) %}
+{%- set version = pillar.postgresql.server.get('version', default_version)|string %}
{%- set version_numbers = version|replace('.', '') %}
{%- set server = salt['grains.filter_by']({
'Debian': {
diff --git a/tests/pillar/postgresql_server.sls b/tests/pillar/postgresql_server.sls
index 0cf7f27..ff22655 100644
--- a/tests/pillar/postgresql_server.sls
+++ b/tests/pillar/postgresql_server.sls
@@ -1,3 +1,4 @@
+
postgresql:
server:
clients: