Thanks for the charm. There are a couple of things that need fixing:
- charm proof shows the following:
W: all charms should provide at least one thing
E: relation db is not a map
E: relation db-admin is not a map
W: missing recommended hook start
W: missing recommended hook stop
The two errors mentioned above are due to an error in metadata.yaml. Currently, the interface definitions seem to be wrong. I explain....
requires:
db: pgsql
db-admin: pgsql
Normally you would define the interfaces such as the above in the following manner:
requires:
db:
interface: pgsql
db-admin:
interface: pgsql
I can't move forward with testing until this is addressed however, I would be happy to review it again when you have made the changes needed.
It's also recommended to run charm proof ( from charm-tools package available in ppa:juju/pkgs ) to avoid the above kind of errors.
Hi Stuart:
Thanks for the charm. There are a couple of things that need fixing:
- charm proof shows the following:
W: all charms should provide at least one thing
E: relation db is not a map
E: relation db-admin is not a map
W: missing recommended hook start
W: missing recommended hook stop
The two errors mentioned above are due to an error in metadata.yaml. Currently, the interface definitions seem to be wrong. I explain....
requires:
db: pgsql
db-admin: pgsql
Normally you would define the interfaces such as the above in the following manner:
requires:
db:
interface: pgsql
db-admin:
interface: pgsql
I can't move forward with testing until this is addressed however, I would be happy to review it again when you have made the changes needed.
It's also recommended to run charm proof ( from charm-tools package available in ppa:juju/pkgs ) to avoid the above kind of errors.
Thanks,
Juan