func (p *Plugin) OnLogout(f EventLogout) *Plugin {
    p.events = append(p.events, PluginEvent{
        name: schemas.PuppetEventNameLogout,
        f:    f,
    })