Sha256: 3fd4f723f8f3fa542877732f68493e84654660a68ead23f559fd01b42d41da95

Contents?: true

Size: 500 Bytes

Versions: 1

Compression:

Stored size: 500 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(env[:snap_name])

                    @app.call(env)

                end

            end

        end

    end

end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
vagrant-multiprovider-snap-0.0.12 lib/vagrant-multiprovider-snap/providers/vmware_fusion/action/snapshot_take.rb