Proposed API Change - Get default repo/namespace from environment variable.
Gustavo Niemeyer
gustavo.niemeyer at canonical.com
Tue Feb 28 23:32:01 UTC 2012
> I think we've discussed this before, but how does one infer the series
> without the default-series in environments.yaml?
Indeed, we did: https://bugs.launchpad.net/juju/+bug/886364
The reasonable choices for bootstrapping an environment are either:
a) The last LTS
b) The Ubuntu running the juju command
After that, every other command should default to the series that
originally bootstrapped the environment.
> So, while I support getting rid of the hard requirement, I think the
> user experience needs to be carefully changed to guide users to the
> correct behavior they desire.
Cool, so we're in agreement.
> That said, I agree with your proposed solution, and don't think this
> will be inviting conflicts. We simply should make it required in all
> charm operations if it is not specified in environments.yaml or the
> environment variable.
I didn't propose that. No matter what we do, this command must
continue to work out of the box:
juju deploy mongodb
--
Gustavo Niemeyer
http://niemeyer.net
http://niemeyer.net/plus
http://niemeyer.net/twitter
http://niemeyer.net/blog
-- I'm not absolutely sure of anything.
More information about the Juju
mailing list