Class: VagrantPlugins::Sprinkle::Provisioner
- Inherits:
-
Object
- Object
- VagrantPlugins::Sprinkle::Provisioner
- Defined in:
- lib/vagrant-sprinkle/provisioner.rb
Instance Method Summary collapse
Instance Method Details
#provision ⇒ Object
4 5 6 7 8 9 10 11 12 |
# File 'lib/vagrant-sprinkle/provisioner.rb', line 4 def provision command = ['sprinkle'].concat() Vagrant::Util::Subprocess.execute(*command) do |type, data| if type == :stdout || type == :stderr machine.env.ui.info(data.chomp, :prefix => false) end end end |