-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 14-08-19 10:36 AM, Gustavo Niemeyer wrote: > On Tue, Aug 19, 2014 at 11:00 AM, Aaron Bentley > <aaron.bent...@canonical.com> wrote: >> On 14-08-19 09:42 AM, Gustavo Niemeyer wrote: >>> I have never seen myself a single charm that completely >>> ignores all the action cues to simply re-read the whole state >>> from the ground up, >> >> The cs:~juju-qa/precise/juju-reports charm follows this general >> pattern, but there are some specialized hooks: install, start, >> stop and upgrade-charm. >> >> config-changed, database-relation-broken, >> database-relation-changed, database-relation-departed, and >> website-relation-changed are all the same code and read the state >> afresh every time without reference to the script name. > > This is actually your website-relation-changed hook: > > http://paste.ubuntu.com/8089398/
No, it's not: http://manage.jujucharms.com/~juju-qa/precise/juju-reports/hooks/website-relation-changed >> The charmworld charm is similar. > > This is reverseproxy-relation-joined there: > > http://paste.ubuntu.com/8089386/ True, I didn't call out the exceptions for the charmworld charm. For completeness, the exceptions in charmworld are: install nrpe-external-master-relation-changed restart reverseproxy-relation-joined start stop upgrade-charm website-relation-changed Aaron -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQEcBAEBAgAGBQJT82ZEAAoJEK84cMOcf+9hGOMH/iwSH3CIuMXWFwba7eAkfF6l jh8Bn7/XhAcIeESAdOjSOeEkWV3+1YA33J+2b7hThWlnWKMMtpfAfzlKEbB3h4VN sLfK3OHQtH23pfMVU4UZ6K55PbrhGxkUXJTDFJaqSm9vqFqQr+Z226QlkQGfDmVK EyzVY813j60T9dE1Mn0EQvyLDOwuASIw1fNQwoGI3PhsBau8LkmwikXjOxEzn6hy L9TFRD/w5OPByLjAWo9Ti+wEWH9/z/W3y0bYOkZRShwS9HyfeztzQz6X34v6kQhW SO+D6tlkwzx46UxfIBuhsqS1xF64eu7P5yx42cCiAPfWdOuX/BFALvtxYZKEAQw= =tBSZ -----END PGP SIGNATURE----- -- Juju-dev mailing list Juju-dev@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/juju-dev