jantman / vagrant-r10k

UNSUPPORTED - SEEKING MAINTAINER - Vagrant middleware plugin to retrieve puppet modules using r10k.
MIT License
35 stars 12 forks source link

Ability to run arbitrary ruby code block before r10k #33

Closed jantman closed 6 years ago

jantman commented 9 years ago

This idea came up in https://github.com/jantman/vagrant-r10k/issues/32#event-430512406

In some cases, it might be useful to let vagrant-r10k execute an arbitrary block of ruby code before running r10k. Because of how I've hacked the plugin in to run before the provisioners, there's no straightforward way that I can figure out to do this other than passing it in as a configuration value to vagrant-r10k (if that's possible).