Class: VagrantPlugins::Sprinkle::Provisioner

Inherits:
Object
  • Object
show all
Defined in:
lib/vagrant-sprinkle/provisioner.rb

Instance Method Summary collapse

Instance Method Details

#provisionObject



4
5
6
7
8
9
10
11
12
# File 'lib/vagrant-sprinkle/provisioner.rb', line 4

def provision
  command = ['sprinkle'].concat(compile_options)

  Vagrant::Util::Subprocess.execute(*command) do |type, data|
    if type == :stdout || type == :stderr
      machine.env.ui.info(data.chomp, :prefix => false)
    end
  end
end