Skip to content

Commit

Permalink
Make the test for the 'docker_opts' grain more robust.
Browse files Browse the repository at this point in the history
  • Loading branch information
jbeda committed Dec 16, 2014
1 parent 56ee668 commit 911a437
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cluster/saltbase/salt/docker/docker-defaults
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
DOCKER_OPTS=""
{% if grains.docker_opts %}
{% if grains.docker_opts is defined and grains.docker_opts %}
DOCKER_OPTS="${DOCKER_OPTS} {{grains.docker_opts}}"
{% endif %}
DOCKER_OPTS="${DOCKER_OPTS} --bridge cbr0 --iptables=false --ip-masq=false -r=false"

0 comments on commit 911a437

Please sign in to comment.