juju-deployer local-mods command is counter intuitive and thus confusing
Bug #1274067 reported by
Jeff Lane
on 2014-01-29
This bug affects 1 person
| Affects | Status | Importance | Assigned to | Milestone | |
|---|---|---|---|---|---|
| | juju-deployer |
Low
|
Unassigned | ||
Bug Description
looking at juju-deployer -h it says this:
-L --local-mods Disallow deployment of locally-modified charms
That is exactly the opposite of what one would expect from specifying that switch.
A good analogy would be like using -v to suppress verbosity rather than enable it.
Also looking at the help, there doesn't seem to be any obvious way to tell juju-deployer to use a local repo instead of one from the charm store.
| Kapil Thangavelu (hazmat) wrote : | #1 |
| Changed in juju-deployer: | |
| status: | New → Triaged |
| importance: | Undecided → Low |
| Kapil Thangavelu (hazmat) wrote : | #2 |
The flag doc string on this was cleared up to reflect usage.
| Changed in juju-deployer: | |
| status: | Triaged → Fix Released |
| milestone: | none → 0.4.0 |
To post a comment you must log in.

do you have a suggestion for an alternative re -L? Else i'm inclined to just leave as is afaics the only change here would be local-mods. Deployer already has 101 options..
-L --disable-
re your support question..
export JUJU_REPOSITORY =my_repository
drop your charms into my_repository/ precise and then a simple deployer file would be.
mycloud-ssl:
block- device: None controller
series: precise
services:
mysql:
charm: mysql
options:
ssl: only
keystone:
charm: keystone
cinder:
charm: cinder
options:
glance:
charm: glance
nova-cc:
charm: nova-cloud-
relations:
- [mysql, [cinder, glance, nova-cc, keystone]]