update to latest version of libraries

update for puppet3 compatibility
use create_resources for plugins