Class: Vagrant::Smartos::Zones::Cap::ZoneGate::Enable
- Defined in:
- lib/vagrant/smartos/zones/cap/zone_gate/enable.rb
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
Methods inherited from Base
cap_method, #initialize, #sudo, #ui
Constructor Details
This class inherits a constructor from Vagrant::Smartos::Zones::Cap::Base
Instance Method Details
#execute ⇒ Object
11 12 13 14 |
# File 'lib/vagrant/smartos/zones/cap/zone_gate/enable.rb', line 11 def execute ui.info 'Enabling ZoneGate' machine.communicate.gz_execute("#{sudo} svcadm enable -s zonegate") end |