juju config does not expand '~' when using the '@' shortut
Bug #1696913 reported by
Thomi Richards
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Canonical Juju |
Expired
|
Medium
|
Unassigned |
Bug Description
When setting config options where the config data comes from a file, the '@' shortcut makes things really easy:
$ juju config my-application option_
However, it doesn't expand '~' to the users home directory, which can be a little confusing:
$ juju config external-services cassandra_
ERROR cannot read option from file "~/jc": stat /home/thomi/
...and yet the file exists:
$ ls ~/jc
/home/thomi/jc
...and expanding the path manually works just fine:
$ juju config external-services cassandra_
tags: | added: usability |
Changed in juju: | |
importance: | Undecided → Medium |
status: | New → Triaged |
To post a comment you must log in.
https:/ /github. com/juju/ juju/pull/ 7545