Registry / other / puppet-resource-api

puppet-resource-api

JSON →
library2.0.0rbrubygemsunverified

This library provides a simple way to write new native resources for puppet.

gem install puppet-resource_api
INSTALL
IMPORT
SIG · PUPPET-RESOURCE-AP
P
puppet-resource-api
otherrubyv2.0.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Puppet::ResourceApi
require 'puppet/resource_api'

Register a new Puppet resource type using the Resource API.

require 'puppet/resource_api' Puppet::ResourceApi.register_type( name: 'my_type', docs: 'My custom type', attributes: { name: { type: 'String', behaviour: :namevar } } )
Debug
Known issues

No known issues recorded.

Upgrade
Version history
2.0.0latest on RubyGems
Audit
Dependencies

No dependency data recorded yet.

Agent activity
6 hits · last 30 days
node
6
Resources
puppet-resource-api — gem install puppet-resource-api · libregistry