fgrehm / vagrant-cachier

Caffeine reducer
http://fgrehm.viewdocs.io/vagrant-cachier
MIT License
1.08k stars 111 forks source link

Implement generic bucket #94

Closed gnustavo closed 10 years ago

gnustavo commented 10 years ago

This is my attempt to implement a "generic" bucket that I can use to cache downloads I perform with wget. It's working on my Puppet provisioned vagrant environment but I'm not sure I've understood cachier's architecture fully since I can only baby-talk Ruby. :)

In particular, I'm not sure I did the right thing on the Generic.capability method.

What do you think?

fgrehm commented 10 years ago

Show de bola :-)

The code LGTM but I need to find some time to test it, if someone else with commit access is able to give it a go, please go ahead and merge!

/cc @cromulus as you seem the be interested on it since the early days of the plugin on GH-4

gnustavo commented 10 years ago

Legal, tchê! :-)

I think with this feature here and with another one I'm proposing elsewhere my vagrant/puppet workflow will get superfast!