Skip to content

Commit

Permalink
Merge pull request #51 from modcloth/allow-blank-env-vars-take-2
Browse files Browse the repository at this point in the history
Allow docker env vars to be defined and empty
  • Loading branch information
jszwedko committed Nov 10, 2014
2 parents f582efe + eb134d3 commit 3662454
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
language: python
sudo: false
sudo: true
env:
global:
- NETWORK_ENV=demo
Expand Down
2 changes: 1 addition & 1 deletion templates/etc-default.j2
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# vim:filetype=sh
# {{ ansible_managed }}

{% for key, value in modcloth_app_env|dictsort %}{{ key }}={{ value }}
{% for key, value in modcloth_app_env|dictsort %}{{ key }}={{ value | default('', true) }}
{% endfor %}

0 comments on commit 3662454

Please sign in to comment.