chef-cookbooks / iptables

Development repository for Chef Cookbook iptables
https://supermarket.chef.io/cookbooks/iptables
Apache License 2.0
102 stars 141 forks source link

"knife cookbook site install" not working #27

Closed salmonte closed 9 years ago

salmonte commented 9 years ago

I tried installing the cookbook using "knife cookbook site install" and I get the following error.

ERROR: IOError: Cannot open or read /home/chef-repo/cookbooks/iptables/metadata.rb!

Also, I noticed a metadata.json gets generated inside the cookbook directory, but no metadata.rb is present.

Any thoughts?

bart-lute commented 9 years ago

Hi salmonte,

Not sure if it will work for you but I had the same issue on my Mac. After upgrading the chefdk to the latest version: https://downloads.chef.io/chef-dk/ the cookbook installed, as did several others that were also broken.

Regards, Bart

salmonte commented 9 years ago

Hi Bart,

Thanks for the update. I updated to the latest chef-dk and that worked for me!

Regards,

Steven Almonte

On Sat, Jan 24, 2015 at 11:59 AM, Bart Lute notifications@github.com wrote:

Hi salmonte,

Not sure if it will work for you but I had the same issue on my Mac. After upgrading the chefdk to the latest version: https://downloads.chef.io/chef-dk/ the cookbook installed, as did several others that were also broken.

Regards, Bart

— Reply to this email directly or view it on GitHub https://github.com/opscode-cookbooks/iptables/issues/27#issuecomment-71326945 .

Steven Almonte stevenalmonte@gmail.com Mobile: (954)266-8240

tas50 commented 9 years ago

This should be fixed in the 1.0 release, which now includes the metadata file