Charm verification

Gustavo Niemeyer gustavo.niemeyer at canonical.com
Fri Dec 23 12:30:52 UTC 2011


Hey Jelmer,

> Over the last couple of days I've been experimenting with charms a bit,
> and I am really liking it so far. It was especially surprising to see
> how quick I got from a plain precise install to getting a newly written
> charm deployed.

Neat! What have you been deploying there?

> I found myself writing simple test scripts for each charm, to verify
> that the service unit was operating properly. In my case this sped up
> development of the charm, since it meant not having to fire up a network
> client manually, but just running a script. Perhaps it would also be
> useful to verify that a particular unit is still working properly? I
> guess in many ways it would be akin to a nagios plugin, but one which
> pulls its configuration out of juju - so doesn't need any further
> configuration.

One of the things I still have in my table from UDS is to design a
testing framework for charms, but it's not entirely clear that this is
really what you're alluding to here. What kind of script do you have
in mind?

-- 
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