Module: Kuroko::VagrantSupport
- Defined in:
- lib/kuroko/vagrant_support.rb
Instance Method Summary collapse
- #run_sudo_command(command, options = {}) ⇒ Object
- #run_vagrant_command(command, options = {}) ⇒ Object
- #vagrant_cli_command(command) ⇒ Object
- #vagrant_sandbox_command(command, path = vagrant_root) ⇒ Object
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, ={}) run_command(:sudo, command, ) end |
#run_vagrant_command(command, options = {}) ⇒ Object
19 20 21 |
# File 'lib/kuroko/vagrant_support.rb', line 19 def run_vagrant_command(command, ={}) run_command(:execute, command, ) 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 |