This library provides a simple way to write new native resources for puppet.
https://rubygems.org/gems/puppet-resource_api