Module: Kuroko::VagrantSupport

Defined in:
lib/kuroko/vagrant_support.rb

Instance Method Summary collapse

Instance Method Details

#run_sudo_command(command, options = {}) ⇒ Object



23
24
25
# File 'lib/kuroko/vagrant_support.rb', line 23

def run_sudo_command(command, options={})
  run_command(:sudo, command, options)
end

#run_vagrant_command(command, options = {}) ⇒ Object



19
20
21
# File 'lib/kuroko/vagrant_support.rb', line 19

def run_vagrant_command(command, options={})
  run_command(:execute, command, options)
end

#vagrant_cli_command(command) ⇒ Object



11
12
13
# File 'lib/kuroko/vagrant_support.rb', line 11

def vagrant_cli_command(command)
  vagrant_env.cli(command)
end

#vagrant_sandbox_command(command, path = vagrant_root) ⇒ Object



15
16
17
# File 'lib/kuroko/vagrant_support.rb', line 15

def vagrant_sandbox_command(command, path=vagrant_root)
  invoke_sandbox_command(command, path)
end