summaryrefslogtreecommitdiff
path: root/docs/Model-Notes/EOS.md
diff options
context:
space:
mode:
authorytti <saku@ytti.fi>2018-06-14 00:01:00 +0300
committerGitHub <noreply@github.com>2018-06-14 00:01:00 +0300
commit5fa09b89db99b70ad5e5841b89454df6d7c3d4ce (patch)
tree6c529e5136fc22f65c1f84a76a969a06c4df4797 /docs/Model-Notes/EOS.md
parent4d5edf4a284ec1244f3e2c4d09d54ea902736e65 (diff)
Model callback enhancement
Allows cfg, cmd, pre, post and expect blocks to reset the callback array or change from push to unshift. Use case is in custom models which monkey-patch the distribution model. You might want to replace for example distribution ```cmd :secret``` with your own version, like such: cmd :secret clear: true do ... end Or if you instead want to unshift your block to be first to be called: cfg :ssh do prepend: true do .. end Closes #1384
Diffstat (limited to 'docs/Model-Notes/EOS.md')
0 files changed, 0 insertions, 0 deletions