Sha256: e76e5fb52040118d34bc067db213c6590bd33786a63e1e01a6f64fbaa056b61b

Contents?: true

Size: 483 Bytes

Versions: 11

Compression:

Stored size: 483 Bytes

Contents

module HashiCorp

    module VagrantVMwarefusion

        module Action

            class SnapshotTake

                def initialize(app, env)
                    @app = app
                end

                def call(env)

                    env[:ui].info I18n.t("vagrant_snap.actions.vm.snapshot_take.taking")
                    env[:machine].provider.driver.snapshot_take

                    @app.call(env)

                end

            end

        end

    end

end

Version data entries

11 entries across 11 versions & 2 rubygems

Version Path
vagrant-multiprovider-snap-0.0.11 lib/vagrant-multiprovider-snap/providers/vmware_fusion/action/snapshot_take.rb
vagrant-multiprovider-snap-0.0.10 lib/vagrant-multiprovider-snap/providers/vmware_fusion/action/snapshot_take.rb
vagrant-multiprovider-snap-0.0.9 lib/vagrant-multiprovider-snap/providers/vmware_fusion/action/snapshot_take.rb
vagrant-multiprovider-snap-0.0.8 lib/vagrant-multiprovider-snap/providers/vmware_fusion/action/snapshot_take.rb
vagrant-multiprovider-snap-0.0.7 lib/vagrant-multiprovider-snap/providers/vmware_fusion/action/snapshot_take.rb
vagrant-multiprovider-snap-0.0.6 lib/vagrant-multiprovider-snap/providers/vmware_fusion/action/snapshot_take.rb
vagrant-multiprovider-snap-0.0.5 lib/vagrant-multiprovider-snap/providers/vmware_fusion/action/snapshot_take.rb
vagrant-multiprovider-snap-0.0.4 lib/vagrant-multiprovider-snap/providers/vmware_fusion/action/snapshot_take.rb
vagrant-zz-multiprovider-snap-0.0.3 lib/vagrant-multiprovider-snap/providers/vmware_fusion/action/snapshot_take.rb
vagrant-zz-multiprovider-snap-0.0.2 lib/vagrant-multiprovider-snap/providers/vmware_fusion/action/snapshot_take.rb
vagrant-zz-multiprovider-snap-0.0.1 lib/vagrant-multiprovider-snap/providers/vmware_fusion/action/snapshot_take.rb