Knife del_attribute is a plugin to knife to delete a normal attributes in your nodes
Ruby
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
README.md
del_attribute.rb

README.md

knife-del-atrribute

A plugin for Chef::Knife which will delete normal attributes of your nodes.

Usage

Supply nested attributes and the 'recursive' token if you like a recursive delete.

% knife del_attribute node_name attribute.sub_attribute recursive

% knife del_attribute node_name attribute.sub_attribute 

Installation

Script install

Copy the knife-del-attribute script from del_attribute.rb to your ~/.chef/plugins/knife directory.

$ git clone git@github.com:amian84/knife-del-attribute.git
$ mkdir -p ~/.chef/plugins/knife/
$ cp knife-del-attribute/del_attribute.rb ~/.chef/plugins/knife/