juju docs recommend "juju init -w" but that fails

Bug #1221127 reported by Tom Haddon on 2013-09-05
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Martin Packman

Bug Description

https://juju.ubuntu.com/get-started/local/ says:

"""First configure your environment local environment, if you've not set up Juju before do a:

juju init -w"""

However, "juju init -w" gives "error: flag provided but not defined: -w"

I'm using juju-core 1.13.3-1~1737~ubuntu13.04.1

Related branches

Tom Haddon (mthaddon) wrote :

<mgz> mthaddon: looking at juju.ubuntu.com and the branch, the local provider setup instructions say `juju generate-config` not `juju init -w` it seems
<wallyworld_> wow, generate-config is old
<TheMue> it's an alias
<mthaddon> mgz: is that different from https://juju.ubuntu.com/get-started/local/ ?
<mgz> ...yes
<mgz> hm, clicking on local configuration from the getting started link gets me to the right page, but not that one...
<TheMue> oh, just seen, we're inconsistent in our internal help texts. some times "init -w", some times "generate-config -w".
<mthaddon> ah, I see - if you navigate from the website you get to https://juju.ubuntu.com/docs/config-local.html
<mthaddon> I was following the link in the generated juju env file from "juju init"
<mthaddon> I'll note that in the bug report

Tom Haddon (mthaddon) wrote :

<mgz> so, -w is gone from that page now, hopefully people on older versions will now not be confused
<mgz> mthaddon: that page is generated from an askubuntu response
<mgz> if you click the byline at the top, it links there
* mthaddon nods
<mgz> or, actually, the title, clicking jorge links to jorge
<mthaddon> mgz: so why do we have to pages for getting started with the local provider? should the juju init comment link to https://juju.ubuntu.com/docs/config-local.html ?
<mthaddon> er, why do we have *two* pages
<mgz> mthaddon: I think so

Martin Packman (gz) wrote :

That page is generated from an askubuntu response, which I've now edited to remove the -w flag:


I *think* these pages should now be replaced (and the link from the generated config) with references to the main documentation instead:


Changed in juju:
assignee: nobody → Martin Packman (gz)
importance: Undecided → Low
status: New → In Progress
Martin Packman (gz) on 2013-09-05
Changed in juju:
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers