Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/soundcloud/knife-scrub
Knife plugin to scrub normal attributes
https://github.com/soundcloud/knife-scrub
Last synced: 15 days ago
JSON representation
Knife plugin to scrub normal attributes
- Host: GitHub
- URL: https://github.com/soundcloud/knife-scrub
- Owner: soundcloud
- License: apache-2.0
- Created: 2013-08-07T13:50:04.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2023-04-09T21:10:21.000Z (over 1 year ago)
- Last Synced: 2024-10-08T10:58:51.261Z (about 1 month ago)
- Language: Ruby
- Homepage:
- Size: 10.7 KB
- Stars: 1
- Watchers: 115
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# knife scrub
Chef Knife plugin to scrub normal attributes from chef-server.
## Installation
gem install knife-scrub
## Usage
The only objects `knife-scrub` can scrub so far are `normal` attributes
from previous roles or cookbook versions, as these might conflict with
existing `default` attributes.```bash
$ knife scrub attributes nagios.services
```It's possible to restrict the node search to a given pattern with `--query`:
```bash
$ knife scrub attributes -q roles:web nagios.services
```In order to just display all nodes with normal attributes, use `--dry-run`:
```bash
$ knife scrub attributes -d nagios.services
```The usual `--yes` / `-y` flag works as well:
```bash
$ knife scrub attributes -q roles:web -y nagios.services
```## Authors
SoundCloud Inc., [Tobias Schmidt](mailto:[email protected])