Cannot use @<file> for for juju deploy --config

Bug #1889785 reported by Benjamin Allot
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Canonical Juju
Fix Released
Medium
Achilleas Anagnostopoulos

Bug Description

Hello,

A useful feature of juju config is using the following stanza

 | juju config myapp myconfig="@/tmp/config"

so the whole content of the /tmp/config file is set for "myconfig".

However, this does not work with juju deploy --config

 | juju deploy --config myconfig="@/tmp/config"

ends up with "myconfig" = "@/tmp/config", so the literal value.

For consistency sake, the second stanza should work as the first.

Regards,

Ian Booth (wallyworld)
Changed in juju:
milestone: none → 2.8-next
importance: Undecided → High
status: New → Triaged
importance: High → Medium
Changed in juju:
assignee: nobody → Achilleas Anagnostopoulos (achilleasa)
status: Triaged → In Progress
Revision history for this message
Achilleas Anagnostopoulos (achilleasa) wrote :

PR https://github.com/juju/juju/pull/11909 includes a fix for the 2.8 branch.

Changed in juju:
status: In Progress → Fix Committed
Ian Booth (wallyworld)
Changed in juju:
milestone: 2.8-next → 2.8.5
Changed in juju:
milestone: 2.8.5 → 2.8.6
Revision history for this message
Achilleas Anagnostopoulos (achilleasa) wrote :

This fix was released with 2.8.2 (head a44e6eb38430da695737f5e9f37819478b9587c3 [Sep 3rd] > fix head b9a6185dca5f9d9962f056c3cca6db242cca2da9 [Aug 17th]). We probably missed it because the bug was initially targeted to 2.8-next.

Changed in juju:
status: Fix Committed → Fix Released
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.