Skip to main content

IMPORTANT - Product End of Life Statement - IMPORTANT

Request RE, Survey, and Calendar 1.5 Support Ending December 31, 2020
Contact Kinetic Data Support with Questions
Kinetic Community

Chef Node Attribute Delete

A handler that deletes an attribute to an existing node on Chef.


By downloading this file, you acknowledge that you agree to our Terms of Service

Note: To run this handler, you will need a ruby instance (with a version greater than 1.9) installed on the server your Kinetic Task instance is running on.

Detailed Description


To add an attribute to an existing Chef Server node, the handler uses Chef's REST API. The handler first retrieves the users private key from the specified location so that it can then be used to sign the REST request. The handler then retrieves the node that will be updated to get all of the attributes that are currently attached to it. The inputted Attribute Name and Attribute Value will then be added as a key/value pair to the 'normal' attribute object in the node object. That updated object is then re-posted to the Chef Server to apply the changes to the node attributes on the Chef Server.  And errors that are encountered during the process are caught and re-rasied by the handler.

Info Values

Name Description
Username Username of your Chef account
Private Key Path File path of directories to the location of pem or key file.
Organization Endpoint API end point of organization.
Enable Debug Logging Enables debugging in logs.


Name Description
Node Name The name that will be assigned to the node.
Attribute Name Name of attribute to be added.
Attribute Value Vale of the attribute to be added.

Change Log


Version Date Description
1 2017-06-12 Initial Version