'juju get' needs an option to produce the same yaml that 'juju set --config' will consume

Bug #993027 reported by Clint Byrum
14
This bug affects 3 people
Affects Status Importance Assigned to Milestone
pyjuju
Triaged
Low
Unassigned

Bug Description

Currently if I type 'juju get service1' I get a yaml of all the values, defaults, etc.

That yaml needs translation if I want to then feed it back in to another environment or service.

Something like:

juju get --format juju-set-yaml service1 > /tmp/myservice.yaml
juju set service1 -e otherenv --config /tmp/myservice.yaml

Revision history for this message
Gustavo Niemeyer (niemeyer) wrote : Re: [Bug 993027] [NEW] 'juju get' needs an option to produce the same yaml that 'juju set --config' will consume

Sounds reasonable. Let's please wait for the Go port to catch up for
getting something along those lines in.

gustavo @ http://niemeyer.net
On May 2, 2012 12:25 AM, "Clint Byrum" <email address hidden> wrote:

> Public bug reported:
>
> Currently if I type 'juju get service1' I get a yaml of all the values,
> defaults, etc.
>
> That yaml needs translation if I want to then feed it back in to another
> environment or service.
>
> Something like:
>
> juju get --format juju-set-yaml service1 > /tmp/myservice.yaml
> juju set service1 -e otherenv --config /tmp/myservice.yaml
>
> ** Affects: juju
> Importance: Undecided
> Status: New
>
> --
> You received this bug notification because you are a member of juju
> hackers, which is the registrant for juju.
> https://bugs.launchpad.net/bugs/993027
>
> Title:
> 'juju get' needs an option to produce the same yaml that 'juju set
> --config' will consume
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/juju/+bug/993027/+subscriptions
>

Curtis Hovey (sinzui)
Changed in juju:
importance: Undecided → Low
status: New → Triaged
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.