[ANN] Resource API v1.4.1 Release

David Schmitt
 

Hi all,

We're pleased to announce that version 1.4.1 of the Resource API is being released today.

The Resource API provides a simple way to create new native resources in the form of types and providers for Puppet. Using a little bit of ruby, you can finally get rid of that brittle exec, or manage that one API that eluded you until now.

It is provided as a Ruby gem to be referenced within modules. Support for it has been included as an experimental feature in the Puppet Development Kit (see pdk new provider --help). Use the resource_api module or the puppet 6 nightly packages to deploy it in your infrastructure.

The new release of the Resource API provides the following notable bugfixes:

  • Fix "undefined method `rs_value'" error with metaparams like require and subscribe
  • Improve log_exception output from PuppetContext
  • Minor code changes to allow providers be loaded without puppet

See the CHANGELOG for a full list of changes.

We encourage all module developers to review the Resource API and use it when creating types and providers. The README gets you going quickly. To see some example code see this simple Philips Hue type or this experimental apt_key provider.

Please let us know of your experiences with the Resource API, either here, on Slack (#forge-modules), or on the github repo.

Thanks, the Davids

--

Join voxpupuli@groups.io to automatically receive all group messages.