diff options
author | Lamont Granquist <lamont@scriptkiddie.org> | 2020-03-24 14:26:43 -0700 |
---|---|---|
committer | Lamont Granquist <lamont@scriptkiddie.org> | 2020-03-24 14:26:43 -0700 |
commit | 55fc4fa4e9e4cf7df0e51c77ec1c5754b431a3ac (patch) | |
tree | 4ca7379e4366ae667bf5f0ff666d2e72c298f5ca /habitat | |
parent | 6a1175ad2bf52adbdeefb38d698844dc8cae5153 (diff) | |
download | chef-55fc4fa4e9e4cf7df0e51c77ec1c5754b431a3ac.tar.gz |
clean up chef_client_cron
- add instance methods to the module so it can be mixed in
- extend the module into the resource class
- use explicit methods for "currying" arguments to avoid the cognitive
overhead of the lambda syntax and allow using method()
- use method() to keep the callbacks readable
Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
Diffstat (limited to 'habitat')
0 files changed, 0 insertions, 0 deletions