Fix conditional on grains.docker_opts in docker-defaults

This commit is contained in:
Jeff Lowdermlk 2014-12-08 16:42:41 -08:00
parent 4845e524af
commit 0007257bce

View File

@ -1,5 +1,5 @@
DOCKER_OPTS=""
{% if grains.docker_opts is defined %}
{% if grains.docker_opts %}
DOCKER_OPTS="${DOCKER_OPTS} {{grains.docker_opts}}"
{% endif %}
DOCKER_OPTS="${DOCKER_OPTS} --bridge cbr0 --iptables=false --ip-masq=false -r=false"