Skip to content

puppetlabs/puppet-resource_api

main
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
bin
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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:

Find the full Resource API documentation here

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