Module: Berkshelf::Vagrant
- Defined in:
- lib/rs_vagrant_shim/berkshelf/vagrant.rb
Class Method Summary collapse
Class Method Details
.provisioners(shortcut, config) ⇒ Object
26 27 28 29 30 31 32 33 34 |
# File 'lib/rs_vagrant_shim/berkshelf/vagrant.rb', line 26 def self.provisioners(shortcut, config) if shortcut == :chef_solo config.vm.provisioners.select do |prov| prov.shortcut == :chef_solo || prov.shortcut.to_s == "Vagrant::RsVagrantShim::Provisioners::RsVagrantShim" end else config.vm.provisioners.select { |prov| prov.shortcut == shortcut } end end |