Directly invoke ruby methods from puppet