resource maps

William Reade william.reade at canonical.com
Mon May 21 20:56:07 UTC 2012


On Mon, 2012-05-21 at 15:18 -0300, Gustavo Niemeyer wrote:
> On Mon, May 21, 2012 at 3:12 PM, William Reade
> <william.reade at canonical.com> wrote:
> > Exactly :). "money" is not the only meaning for that field, but I don't
> > think it's a good idea to make it *inconvenient* to store money values
> > in there (ok, I *could* price ec2 in mUSDph to get ints, but...).
> 
> That's a good point. Alright, I'm happy to go with that as long as we
> agree that no feature in juju should handle that field as meaning
> money.

Works for me. So, I think we're agreed: field named "cost"; holds
floats; defaults to 0; and it's explicitly a unitless and abstract
measure of preference in which lower values are favoured.

Right? :)





More information about the Juju mailing list