juju default config string value of 'null' produces an error
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
pyjuju |
Triaged
|
Low
|
Unassigned |
Bug Description
I was creating a new config option for a charm and wanted to have a default string option of 'null' (without the quotes) as documented on 'service-config' page[1] on the juju site.
This results in juju telling me that I have an invalid option.
Either the documentation needs to be updated or there is a regression?
Example config.yaml:
default-roles:
default: null
type: string
description: |
Comma separated list of roles to create (other than admin-role).
Snippet of the config on the juju site:
options:
blog-roll:
default: null
Error message:
2013-01-18 23:18:27,875 WARNING Charm 'keystone~' has an error: ServiceConfigEr
gy/tmp/
System information:
$ dpkg-query --show juju
juju 0.6.0.1+
[1]: https:/
Changed in juju: | |
importance: | Undecided → Low |
status: | New → Triaged |
From http:// irclogs. ubuntu. com/2011/ 12/06/% 23juju. html#t20: 08
It seems the 'null' in the documentation should be replaced with ""