If zookeeper:client_ip is an integer, such call zookeeper.connect: "%{lookup('zookeeper::client_ip')}:%{lookup('zookeeper::client_port')}" in a hiera file will resolve as:
zookeeper.connect=127.0.0.1:
If I add some quote where the variable zookeeper::client_port is defined I will get the right output. (unfortunately I can't do so as it will result in a type missmatch error in puppet code).
If zookeeper:client_ip is an integer, such call
zookeeper.connect: "%{lookup('zookeeper::client_ip')}:%{lookup('zookeeper::client_port')}"
in a hiera file will resolve as:If I add some quote where the variable
zookeeper::client_port
is defined I will get the right output. (unfortunately I can't do so as it will result in a type missmatch error in puppet code).