Ah I see. Well this prevents me from running knife in the root dir. If you adjust the paths (like https://github.com/rubygems/rubygems-aws/pull/138/files#diff-61f24c81730ac23e034aae455b5e4e29R7) it shouldn’t sync the whole thing.

Or if you’d rather, I can fix it when I rebase #138.  


On Monday, October 28, 2013 at 11:37 AM, Sam Kottler wrote:

> In chef/.chef/knife.rb:
> > @@ -0,0 +1,7 @@ > +knife[:provisioning_path] = '/var/cache/chef' > + > +cookbook_path ['cookbooks', 'site-cookbooks'] > +data_bag_path 'data_bags' > +encrypted_data_bag_secret 'data_bag_key' > +node_name ENV["NODE_NAME"] || "solo" > +role_path 'roles'  
> solo.rb was never in the root directory. This should be relative to the roles/cookbooks/nodes directories because otherwise the whole repo will get deployed as part of the kitchen during rsync, which is a waste of disk space.
>  
> —
> Reply to this email directly or view it on GitHub (https://github.com/rubygems/rubygems-aws/pull/140/files#r7251887).
>  
>  
>