Class: VagrantPlugins::Openstack::Action::AbstractAction
- Inherits:
-
Object
- Object
- VagrantPlugins::Openstack::Action::AbstractAction
- Defined in:
- lib/vagrant-openstack-illuin-provider/action/abstract_action.rb
Direct Known Subclasses
ConnectOpenstack, CreateServer, CreateStack, DeleteServer, DeleteStack, Message, ProvisionWrapper, ReadSSHInfo, ReadState, Resume, SnapshotCleanup, SnapshotDelete, SnapshotList, SnapshotRestore, SnapshotSave, StartServer, StopServer, Suspend, SyncFolders, WaitForServerToBeActive, WaitForServerToStop
Instance Method Summary collapse
Instance Method Details
#call(env) ⇒ Object
7 8 9 10 11 12 13 14 15 16 |
# File 'lib/vagrant-openstack-illuin-provider/action/abstract_action.rb', line 7 def call(env) execute(env) # rubocop:disable Style/SpecialGlobalVars # rubocop:disable Lint/RescueException rescue Errors::VagrantOpenstackError, SystemExit, Interrupt => e raise e rescue Exception => e puts I18n.t('vagrant_openstack.global_error').red unless e. && e..start_with?('Catched Error:') raise $!, "Catched Error: #{$!}", $!.backtrace end |