Comment 4 for bug 898714

Revision history for this message
Clint Byrum (clint-fewbar) wrote :

Hi Ben! Thanks for submitting. This charm actually has a huge metadata error in it:

$ charm proof
E: FATAL: cannot parse /home/clint/charms/precise/locker/metadata.yaml:mapping values are not allowed here
  in "/home/clint/charms/precise/locker/metadata.yaml", line 6, column 68

$ juju deploy local:locker
2012-05-07 00:59:02,639 INFO Searching for charm local:precise/locker in local charm repository: /home/clint/charms
2012-05-07 00:59:08,310 WARNING Charm 'locker' has a YAML error: mapping values are not allowed here
  in "/home/clint/charms/precise/locker/metadata.yaml", line 6, column 68:
     ... the things you see and do online: the photos you take,
                                         ^
Charm 'local:precise/locker' not found in repository /home/clint/charms

You just need to add a pipe ( as in, | ) after the description: field to make sure yaml treats the next indented block as a single string.

Also, hooks/install has a major error:

'git clone git clone'

On line 23..

Its important that you test your charms before submitting them for review. Please make sure it deploys and works the way you expect it to!