Skip to content

puppetlabs/puppet-resource_api

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:

About

This library provides a simple way to write new native resources for https://puppet.com.

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Packages

No packages published

Languages