There's a lot of open issues
No release in over a year
This library provides a simple way to write new native resources for puppet.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Runtime

>= 1.0
 Project Readme

Puppet::ResourceApi codecov

This is an implementation of the Resource API specification.

Find a working example of a new-style providers in the Palo Alto Firewall module:

Related Documents

Deployment

The puppet-resource_api gem is part of Puppet from version 6 onward.

Contributing

We welcome bug reports and pull requests on the Resource API so that we can continue to improve it to the best of our ability. If you would like to contribute, have a look at our GitHub and the Resource API Backlog.

Known Issues

There are still a few notable gaps between the implementation and the specification:

  • Only a single runtime environment (the Puppet commands) is currently implemented.

Restrictions of puppet:

  • supports_noop is not effective, as puppet doesn't call into the type under noop at all.
  • Attributes cannot be called title, provider, or any of the metaparameters, as those are reserved by puppet itself.

Future possibilities: