Sha256: cac97d6739172c228c8784eabfba17418bc5081d5b2990dac3dff0664e41a809

Contents?: true

Size: 345 Bytes

Versions: 17

Compression:

Stored size: 345 Bytes

Contents

module VagrantPlugins
  module Cloudstack
    module Action
      class MessageWillNotDestroy
        def initialize(app, env)
          @app = app
        end

        def call(env)
          env[:ui].info(I18n.t("vagrant_cloudstack.will_not_destroy", name: env[:machine].name))
          @app.call(env)
        end
      end
    end
  end
end

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
vagrant-cloudstack-1.5.2 lib/vagrant-cloudstack/action/message_will_not_destroy.rb
vagrant-cloudstack-1.5.1 lib/vagrant-cloudstack/action/message_will_not_destroy.rb
vagrant-cloudstack-1.5.0 lib/vagrant-cloudstack/action/message_will_not_destroy.rb
vagrant-cloudstack-1.4.0 lib/vagrant-cloudstack/action/message_will_not_destroy.rb
vagrant-cloudstack-1.1.0 lib/vagrant-cloudstack/action/message_will_not_destroy.rb
vagrant-cloudstack-1.0.0 lib/vagrant-cloudstack/action/message_will_not_destroy.rb
vagrant-cloudstack-0.10.0 lib/vagrant-cloudstack/action/message_will_not_destroy.rb
vagrant-cloudstack-0.9.1 lib/vagrant-cloudstack/action/message_will_not_destroy.rb
vagrant-cloudstack-0.9.0 lib/vagrant-cloudstack/action/message_will_not_destroy.rb
vagrant-cloudstack-0.8.0 lib/vagrant-cloudstack/action/message_will_not_destroy.rb
vagrant-cloudstack-0.7.0 lib/vagrant-cloudstack/action/message_will_not_destroy.rb
vagrant-cloudstack-0.6.0 lib/vagrant-cloudstack/action/message_will_not_destroy.rb
vagrant-cloudstack-0.5.0 lib/vagrant-cloudstack/action/message_will_not_destroy.rb
vagrant-cloudstack-0.4.1 lib/vagrant-cloudstack/action/message_will_not_destroy.rb
vagrant-cloudstack-0.4.0 lib/vagrant-cloudstack/action/message_will_not_destroy.rb
vagrant-cloudstack-0.2.0 lib/vagrant-cloudstack/action/message_will_not_destroy.rb
vagrant-cloudstack-0.1.0 lib/vagrant-cloudstack/action/message_will_not_destroy.rb