roger.peppe at canonical.com
Fri Apr 24 15:14:54 UTC 2015
On 24 April 2015 at 14:33, Vasiliy Tolstov <v.tolstov at selfip.ru> wrote:
> 2015-04-23 20:31 GMT+03:00 roger peppe <roger.peppe at canonical.com>:
>> Ah! After looking at your code, I think I might know what your
>> question means. Do you mean "If I call RegisterRelation, why
>> does gocharm not generate relation hooks for that relation?".
>> If so, the answer is that gocharm only generates a hook stub when
>> you've called RegisterHook for that hook (it can't know
>> *which* hooks you want to be called. RegisterRelation just
>> registers the relation; it doesn't say that you're interested in hook
>> for that relation. See charmbits/httprelation for an example
>> of how to implement a relation.
> Thanks for all answers.
> Offtopic question - does you know something like chef/puppet but
> written in go ?=)
I don't, but someone else here might :)
More information about the Juju