Unable to create databags in chef
I'm using the following ruby script to encrypt/decrypt chef data bags locally:
https://gist.github.com/anonymous/4923ebeee53fe4d43a1cfb70a2abaadd

to encrypt:

ruby encrypt.rb PATH_TO_SECRET_FILE &lt; UNECRYPTED_DATA_BAG.json &gt; ENCRYPTED_DATA_BAG.json

and to decrypt:

ruby decrypt.rb PATH_TO_SECRET_FILE &lt; ENCRYPTED_DATA_BAG.json &gt; DECRYPTED_DATA_BAG.json