Comment 4 for bug 1292116

Revision history for this message
Caio Begotti (caio1982) wrote :

Another thing related to this bug, which is affecting my deployments with Juju and Mojo is that juju get service will break lines when it should not. Long values with spaces in them are broken this way. I have credentials in the config file and juju get will break the line for no reason and thus I can't use its output normally, I have to hack a bunch of sed commands around it...

My config file (just the relevant bits):

projectname:
    services:
        servicename:
            options:
                repository: "deb https://username:<email address hidden>/projectrepo/ubuntu trusty main"

But then juju get returns this:

  repository:
    description: The PPA address or private repository line for apt-add-repository
    type: string
    value: deb https://username:<email address hidden>/projectrepo/ubuntu
      trusty main

I've tried to change the COLUMNS env var but it does not help, the linebreak is coming from Juju.