Skip to content

Instantly share code, notes, and snippets.

@octplane
Created October 1, 2013 15:37
Show Gist options
  • Save octplane/6780404 to your computer and use it in GitHub Desktop.
Save octplane/6780404 to your computer and use it in GitHub Desktop.
Hack of the day. Modify a chef node and remove some attributes by using this script as EDITOR
#!/bin/sh
echo $1.x
jshon -e normal -e log_locations -n array -i picor -p -p < $1 > $1.x
mv $1.x $1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment