Skip to content

Knife plugin to scrub normal attributes

License

Notifications You must be signed in to change notification settings

soundcloud/knife-scrub

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

$ knife scrub attributes nagios.services

It's possible to restrict the node search to a given pattern with --query:

$ knife scrub attributes -q roles:web nagios.services

In order to just display all nodes with normal attributes, use --dry-run:

$ knife scrub attributes -d nagios.services

The usual --yes / -y flag works as well:

$ knife scrub attributes -q roles:web -y nagios.services

Authors

SoundCloud Inc., Tobias Schmidt

About

Knife plugin to scrub normal attributes

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages