refactor helper functions in LWRPs into Chef::Mixin::Rbenv