Skip to content

Allow to deactivate inspection by component#31

Closed
kamaradclimber wants to merge 1 commit intobmarini:masterfrom
kamaradclimber:options
Closed

Allow to deactivate inspection by component#31
kamaradclimber wants to merge 1 commit intobmarini:masterfrom
kamaradclimber:options

Conversation

@kamaradclimber
Copy link
Copy Markdown
Contributor

By default, knife inspect treats all components (role, cookbooks, env)
Using --no-cookbooks will make it skip cookbook inspection

By default, knife inspect treats all components (role, cookbooks, env)
Using --no-cookbooks will make it skip cookbook inspection
@brugidou
Copy link
Copy Markdown

+1

Comment thread lib/chef/knife/inspect.rb
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

First of all, I'm sorry it took me so long to review this!

I'm not happy about what this generates for DataBagItems:

--[no-]databagitems          Add or exclude databagitems from inspection

I think we need a method to do CamelCase to underscore (I really don't want a dependency on active_support for that), so we get --no-data-bag-items

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

agreed

@gregkare
Copy link
Copy Markdown
Collaborator

gregkare commented Jan 6, 2015

I've changed the format of the option switches and refactored a bit. Still needs documentation because I can merge and release. #34

@kamaradclimber
Copy link
Copy Markdown
Contributor Author

closed in favor of #34

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants