)]}'
{"multi-node-aio/deploy-osa.sh":[{"author":{"_account_id":6816,"name":"Jesse Pretorius","email":"jesse@odyssey4.me","username":"jesse-pretorius"},"change_message_id":"fbddc79738027aa75bfa72a77a602958deb968fa","unresolved":false,"context_lines":[{"line_number":108,"context_line":"    osa_user_var_add glance_default_store \u0027glance_default_store: swift\u0027"},{"line_number":109,"context_line":""},{"line_number":110,"context_line":"    # Propagate host proxy settings (if set) into /etc/environment in the targets"},{"line_number":111,"context_line":"    if [ -n \"$http_proxy\" ]; then"},{"line_number":112,"context_line":"      osa_user_var_add proxy_env_url \u0027proxy_env_url: \u0027${http_proxy}"},{"line_number":113,"context_line":"      osa_user_var_add no_proxy_env \u0027no_proxy_env: \"localhost,127.0.0.1,{{ internal_lb_vip_address }},{{ external_lb_vip_address }},{% for host in groups[\u0027\\\u0027\u0027all_containers\u0027\\\u0027\u0027] %}{{ hostvars[host][\u0027\\\u0027\u0027container_address\u0027\\\u0027\u0027] }}{% if not loop.last %},{% endif %}{% endfor %}\"\u0027"},{"line_number":114,"context_line":"      osa_user_var_add global_environment_variables \u0027global_environment_variables:\u0027"}],"source_content_type":"text/x-sh","patch_set":1,"id":"da36d5c6_993cebc9","line":111,"range":{"start_line":111,"start_character":4,"end_line":111,"end_character":33},"updated":"2017-02-22 18:44:21.000000000","message":"If you change this to the following then the unset variable should not be an issue:\n\nif [ -n ${http_proxy+x} ]; then\n\nSee http://stackoverflow.com/questions/3601515/how-to-check-if-a-variable-is-set-in-bash\n\nI think this would be better than allowing any unset variable - this is more surgical.","commit_id":"3886999ac7e58f3744c3fae5de31de4d08378f3e"}]}
