I think I've understood most of the metaprogramming going on here, but since these are class methods on the node_resource, I wanted to make sure. Essentially your suggestion is to add a `ruby_script`, `chef_run`, and `put_secret` methods to the class and move this method to be a private method, is that about right?