cparedes / knife-file

Couple of useful utilities for dealing with files (right now, just encrypting/decrypting files)
http://redbluemagenta.com
12 stars 6 forks source link

Use Chef::DataBagItem loader for encrypted data bags too. #5

Closed rhenning closed 10 years ago

rhenning commented 10 years ago

This fixes Chef::EncryptedDataBagItem::json_create NoMethodError issue: https://github.com/cparedes/knife-file/issues/4

rhenning commented 10 years ago

Hey @zsol, can you weigh in on this change? I was getting a backtrace when trying to edit an encrypted data bag in-place and this seems to work around the issue. Thanks.

zsol commented 10 years ago

lgtm, thanks :)

cparedes commented 10 years ago

Sorry about not getting to this earlier, had a bit of stuff come up on my end. Will merge now. Thanks for contributing!

rhenning commented 10 years ago

@cparedes, @zsol: no problem. thanks for the plugin & the merge!

sukrit007 commented 10 years ago

When is the new release for knife-file gem expected having this change ?

cparedes commented 10 years ago

Sorry, have been busy with job hunting myself. I'll try to get to it ASAP - for now, build a gem by cloning the repository and run rake build.

pdf commented 10 years ago

Can we please have this released?

cparedes commented 10 years ago

Sure, one sec. Been a bit crazy on my end still, haven't had time to work on OSS projects lately. :p

cparedes commented 10 years ago

http://rubygems.org/gems/knife-file/versions/0.4.0