juju config cmd help message is wrong for --file option

Bug #1897976 reported by Joe Guo
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Canonical Juju

Bug Description

In `juju config --help`:

  servername: "example.com"
  lb_balancer_timeout: 60

If the above yaml document is stored in a file called config.yaml, the
following command can be used to apply the config changes:

juju config --file config.yaml

I got error for that cmd: "ERROR no application name specified"

Actually I have to specify app name:

juju config apache2 --file config.yaml

This doesn't make sense:

1) app name is already in config.yaml, no need to repeat.
2) I may config multiple apps in config.yaml, but with this name required, I can not do it.

juju version: 2.8.3-focal-amd64

Ian Booth (wallyworld)
Changed in juju:
milestone: none → 2.8.6
status: New → Triaged
importance: Undecided → High
John A Meinel (jameinel)
Changed in juju:
milestone: 2.8.6 → none
Revision history for this message
Facundo Ciccioli (fandanbango) wrote :

I can confirm this bug's still present in the current develop branch (commit 652e1bcc).

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.