https://github.com/mrtazz/knife-node-attribute
knife plugin to show and delete node attributes
https://github.com/mrtazz/knife-node-attribute
Last synced: about 1 year ago
JSON representation
knife plugin to show and delete node attributes
- Host: GitHub
- URL: https://github.com/mrtazz/knife-node-attribute
- Owner: mrtazz
- License: mit
- Created: 2013-09-09T01:59:09.000Z (almost 13 years ago)
- Default Branch: master
- Last Pushed: 2017-01-30T01:11:20.000Z (over 9 years ago)
- Last Synced: 2024-04-24T18:23:52.388Z (about 2 years ago)
- Language: Ruby
- Size: 6.84 KB
- Stars: 8
- Watchers: 4
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# knife-node-attribute
## Overview
knife plugin to interact with the various attributes on a nodes.
**This is fairly unmaintained now.** There exists a more feature-rich
and maintained version of such a plugin at [pdf/knife-attribute]
(https://github.com/pdf/knife-attribute) however that will probably
be way more useful to you.
## Usage
Show all attributes on the node (or a specific one if given):
knife node attribute show foo.example.org
knife node attribute show foo.example.org normal [foo:bar]
knife node attribute show foo.example.org default [foo:bar]
knife node attribute show foo.example.org override [foo:bar]
Delete a specific attribute on a node:
knife node attribute delete foo.example.org normal foo:bar
knife node attribute delete foo.example.org default foo:bar
knife node attribute delete foo.example.org override foo:bar
## Installation
Just get it from rubygems:
gem install knife-node-attribute
## Contribute
- fork the project
- make your awesome changes
- send a pull request
## Thanks
[@jonlives](https://github.com/jonlives) for his plugins which I took as
examples and [@jgoulah](http://github.com/jgoulah) for the
inspiration.