Hi all,

We're pleased to announce that version 1.3.0 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. It is provided as a Ruby gem to
be referenced within modules. Support for it has been included as an
experimental feature in version 1.4 of the Puppet Development Kit (pdk new
provider). Use the resource_api module
<https://forge.puppet.com/puppetlabs/resource_api> or the puppet 6 nightly
packages
<https://groups.google.com/d/msg/puppet-users/N3LJGhsrqkU/TUEsq7VfDQAJ> to
deploy it in your infrastructure.

The new release of the Resource API provides the following enhancements:

   - Support for composite namevars through regular expressions defined
   within the Type. See the resource-api/README.md#composi
   te-namevars-title_patterns
   
<https://github.com/puppetlabs/puppet-specifications/blob/master/language/resource-api/README.md#composite-namevars-title_patterns>
for
   technical details.
   - Multiple namevars can now be declared within a type and used as
   identifiers for a resource.

The new release also contains the following notable bugfixes:

   - Additional checks added for reserved attribute names.
   - `puppet apply` will now work correctly when accessing an absent
   resource.
   - Mungify will no longer affect workflows outside of `puppet resource`.

See the CHANGELOG
<https://github.com/puppetlabs/puppet-resource_api/blob/master/CHANGELOG.md>
 for a full list of changes

We encourage all module developers to review the Resource API and use it
when creating types and providers. For reference, there is an example of
its usage in a branch
<https://github.com/DavidS/puppetlabs-apt/blob/resource-api-experiments/lib/puppet/provider/apt_key2/apt_key2.rb>
 of the apt module.

Please let us know of your experiences with the Resource API, either here,
on Slack <https://slack.puppet.com/> (#forge-modules), or on the github repo
<https://github.com/puppetlabs/puppet-resource_api>.

Thanks,


David Armstrong


-- 
*David Armstrong*
Software Engineer
david.armstr...@puppet.com

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to puppet-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/CALNEwuQ68RhB1wvKk_Z%3DMYwXZ8DXhJkLO%2BaFd72uUfOgSX5sAQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to