[Bug 956000] [NEW] 'juju' with no arguments gives confusing message

Jamie Strandboge jamie at ubuntu.com
Thu Mar 15 13:28:39 UTC 2012


Public bug reported:

Under https://juju.ubuntu.com/docs/getting-started.html it status "Run
the command-line utility with no arguments to create a sample
environment:

$ juju

This will create the file ~/.juju/environments.yaml"...

While it does create ~/.juju/environments.yaml, it also output an error. Eg:
$ rm -rf ./.juju
$ juju
error: No environments configured. Please edit: /home/jamie/.juju/environments.yaml
$ ls -l ./.juju/environments.yaml 
-rw------- 1 jamie jamie 175 Mar 15 08:25 ./.juju/environments.yaml

The error message make my think something went wrong even though I was instructed to do this. This is at best an 'info' message. Eg, this would be less confusing:
$ juju
info: /home/jamie/.juju/environments.yaml does not exist, creating one. Please edit: /home/jamie/.juju/environments.yaml for your environment.

** Affects: juju (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to juju in Ubuntu.
https://bugs.launchpad.net/bugs/956000

Title:
  'juju' with no arguments gives confusing message

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/juju/+bug/956000/+subscriptions



More information about the Ubuntu-server-bugs mailing list