juju deploy --config option ignored when deploying a bundle

Bug #1537153 reported by Casey Marshall
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
juju-core
Invalid
High
Unassigned

Bug Description

When I deploy bundles, the --config option does not seem to work.

Steps to reproduce:

bundle.yaml:
---
series: trusty
services:
  wordpress:
    charm: "cs:trusty/wordpress-4"
    expose: True
    num_units: 1
  mysql:
    charm: "cs:trusty/mysql-33"
    num_units: 1
relations:
  - - "wordpress"
    - "mysql"

config.yaml:
---
mysql:
  flavor: percona

$ juju deploy --config config.yaml bundle.yaml
added charm cs:trusty/mysql-33
service mysql deployed (charm: cs:trusty/mysql-33)
added charm cs:trusty/wordpress-4
service wordpress deployed (charm: cs:trusty/wordpress-4)
service wordpress exposed
related wordpress and mysql
added mysql/0 unit to new machine
added wordpress/0 unit to new machine
deployment of bundle "bundle.yaml" completed
$ juju get mysql
...
  flavor:
    default: true
    description: Possible values are 'distro' or 'percona'
    type: string
    value: distro
...

This is with a recent master, 2.0-alpha1-trusty-amd64 (fc73776d8094f415d479dd2fc54d5f16ed6694e6)

Changed in juju-core:
status: New → Triaged
importance: Undecided → High
tags: added: juju-release-support
tags: added: 2.0-count
Revision history for this message
Cheryl Jennings (cherylj) wrote :

Just tried this on master, and now --config is not allowed when deploying bundles:

$ juju deploy /tmp/bundle.yaml --config /tmp/config.yaml
ERROR Flags provided but not supported when deploying a bundle: --config.

Changed in juju-core:
status: Triaged → Invalid
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.