Skip to content

Commit

Permalink
Merge "[CE-248] changes to configtx.j2 in cello ansible"
Browse files Browse the repository at this point in the history
  • Loading branch information
tong li authored and Gerrit Code Review committed Jan 25, 2018
2 parents ee2a67d + 20d7016 commit 5728a91
Showing 1 changed file with 23 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,10 @@ Orderer: &OrdererDefaults
{% for org in ordererorgs %}
- *{{ org }}
{% endfor %}
{% if project_version | version_compare('1.1.0','>=') %}
Capabilities:
<<: *OrdererCapabilities
{% endif %}

Application: &ApplicationDefaults
Organizations:
Expand All @@ -50,14 +54,31 @@ Profiles:
Consortium: FabricConsortium
Application:
<<: *ApplicationDefaults

{% if project_version | version_compare('1.1.0','>=') %}
Capabilities:
<<: *ApplicationCapabilities
{% endif %}
OrdererGenesis:
Orderer:
<<: *OrdererDefaults

{% if project_version | version_compare('1.1.0','>=') %}
Capabilities:
<<: *ChannelCapabilities
{% endif %}
Consortiums:
FabricConsortium:
Organizations:
{% for org in peerorgs %}
- *{{ org }}
{% endfor %}
{% if project_version | version_compare('1.1.0','>=') %}
Capabilities:
Global: &ChannelCapabilities
V1_1: true

Orderer: &OrdererCapabilities
V1_1: true

Application: &ApplicationCapabilities
V1_1: true
{% endif %}

0 comments on commit 5728a91

Please sign in to comment.