Created
October 1, 2013 15:37
-
-
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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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