-
Notifications
You must be signed in to change notification settings - Fork 111
Conversation
@patcon Just checking, would be possible (at least in theory) to have |
Oh. Shit. I just checked. I thought chef-solo defaulted to /var/chef/cache :/ |
chef_provisioners = [:chef_solo, :chef_client] | ||
compat_provisioners = provisioners.keep_if { |p| chef_provisioners.include? p.name } | ||
|
||
if compat_provisioners.empty? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@patcon I think you can shortcut this to compat_provisioners.any?
;)
Actually, this is going to be ugly for chef_solo, since Vagrant currently uses the Seems that vagrant's chef_solo provisioner needs to start making the cc: @mitchellh Thoughts? |
My second and final commit doesn't work, by the way. |
Still blocked, but awaiting review of the above vagrant core PR that allows use to move forward. |
@patcon the Vagrant PR has been merged \o/ I'm thinking about converting some puppet manifests I've got to chef cookbooks to find out the impact of having this in place, so if I can be of any help just let me know ;) |
Working on this now, btw :) |
OK, this should work. My connection is mega-slow since I'm tethering (and chef omnibus still seems to take forever), so I've only tested on the ubuntu test box. The |
Note, that we might need to move the By default, this is placed in No issue so far, but might rear it's head later. Will likely require that we add |
@patcon AWESOME! I think I'm gonna be able to try it out before the weekend :) |
I'm also starting to doubt whether this will be useful right away. The
So this might not actually do much right away, except for the rare place where someone has used What we really need is a new core chef action for cc: @jtimberman @schisamo Thoughts? |
👍 |
@patcon I'm giving this a go right now but before I forget, we need to update the current docs and let everyone knows that this is only going to work with vagrant 1.2.4+ :) |
@patcon this is awesome man! 👍 Looking forward to the docs so we can merge this one in. Would you also be able to rebase / merge this branch against current master? tks! |
Adds `file_cache_path` support for Chef
Awesome. Added some docs and merged |
@patcon 👍 |
@patcon 👍 |
1 similar comment
@patcon 👍 |
Forked issue from #12