Skip to content

Instantly share code, notes, and snippets.

@flyte
Created March 31, 2015 13:18
Show Gist options
  • Save flyte/ab4c77391ca8e096b8fc to your computer and use it in GitHub Desktop.
Save flyte/ab4c77391ca8e096b8fc to your computer and use it in GitHub Desktop.
Knife code for deleting a specific persistent 'normal' attribute from a specific node.
knife exec -E "nodes.transform('name:ss-virtualserver03') {|n| n.normal_attrs[:vccs_v3][:override_settings].delete(:merge) rescue nil}"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment