add option to export-bundle that shows all config options
Bug #1903607 reported by
James Troup
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Canonical Juju |
Fix Released
|
Medium
|
Ian Booth |
Bug Description
Please add an option to the export-bundle command which documents all config values, i.e. including defaults. This would be very useful for sanity checking tools (such as juju-lint).
Changed in juju: | |
milestone: | none → 2.9.1 |
status: | New → Triaged |
importance: | Undecided → Medium |
tags: | added: bitesize bundles usability |
Changed in juju: | |
milestone: | 2.9.1 → 2.9.2 |
Changed in juju: | |
status: | In Progress → Fix Committed |
Changed in juju: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
There's now a --include- charm-defaults option to juju export-bundle
https:/ /github. com/juju/ juju/pull/ 12985
So for a mariadb deploy with query-cache-size set to 10000 and dataset-size = 50%
$ juju export-bundle cache-size: 10000
applications:
mariadb:
charm: cs:trusty/mariadb-7
channel: stable
series: trusty
num_units: 1
to:
- "0"
options:
dataset-size: 50%
query-
constraints: arch=amd64
$ juju export-bundle --include- charm-defaults /downloads. mariadb. com/enterprise ftp.osuosl. org/pub/ mariadb/ repo format: MIXED osd-replication -count: 2 e-eula: false 4f49" connections: -1 -storage- engine: InnoDB cache-size: 10000 cache-type: "OFF" enterprise- repository. deb
applications:
mariadb:
charm: cs:trusty/mariadb-7
channel: stable
series: trusty
num_units: 1
to:
- "0"
options:
base-url: https:/
base-url-org: http://
binlog-
block-size: 5
ceph-
dataset-size: 50%
enterpris
ha-bindiface: eth0
ha-mcastport: 5411
key: "0xce1a3dd5e3c9
key-org: 0xcbcb082a1bb943db 0xF1656F24C74CD1D8
max-
preferred
query-
query-
rbd-name: mysql1
repo-pkg: mariadb-
series: "10.1"
token: ""
tuning-level: safest
vip: ""
vip_cidr: 24
vip_iface: eth0
constraints: arch=amd64