~landscape/landscape-bundles/trunk

« back to all changes in this revision

Viewing changes to landscape-template.jinja2

  • Committer: 🤖 Landscape Builder
  • Author(s): Eric Snow
  • Date: 2017-03-29 15:35:47 UTC
  • mfrom: (37.1.2 drop-rendered-source)
  • Revision ID: _landscape_builder-20170329153547-0kk60jahf8qtzt0o
Merge drop-rendered-source [f=] [r=adam-collard,chad.smith,landscape-builder] [a=Eric Snow]
Do not set an empty "source" field in the rendered bundle.

Apparently Juju chokes when the source field is empty.

Show diffs side-by-side

added added

removed removed

Lines of Context:
81
81
        {% endif %}
82
82
        num_units: 1
83
83
        options:
 
84
            {% if landscape["source"] %}
84
85
            source: {{ landscape["source"] }}
 
86
            {% endif %}
85
87
            key: {{ landscape["key"] }}
86
88
            {% if landscape["ssl-cert"] %}
87
89
            ssl-cert: {{ landscape["ssl-cert"] }}