Sha256: 7799a28c4539e0adfd7641cf34768c73d540e6e07e5036973b7f9bf0c5a38bfb

Contents?: true

Size: 367 Bytes

Versions: 34

Compression:

Stored size: 367 Bytes

Contents

module VagrantPlugins
  module AWS
    module Action
      class WarnNetworks
        def initialize(app, env)
          @app = app
        end

        def call(env)
          if env[:machine].config.vm.networks.length > 0
            env[:ui].warn(I18n.t("vagrant_aws.warn_networks"))
          end

          @app.call(env)
        end
      end
    end
  end
end

Version data entries

34 entries across 34 versions & 9 rubygems

Version Path
vagrant-gecko-aws-0.8.0 lib/vagrant-aws/action/warn_networks.rb
vagrant-aws-mkubenka-0.7.2.pre.24 lib/vagrant-aws/action/warn_networks.rb
vagrant-aws-detiber-0.7.2.pre.4 lib/vagrant-aws/action/warn_networks.rb
vagrant-aws-detiber-0.7.2.pre.3 lib/vagrant-aws/action/warn_networks.rb
vagrant-aws-detiber-0.7.2.pre.2 lib/vagrant-aws/action/warn_networks.rb
vagrant-aws-mkubenka-0.7.2.pre.22 lib/vagrant-aws/action/warn_networks.rb
vagrant-aws-mkubenka-0.7.2.pre.16 lib/vagrant-aws/action/warn_networks.rb
vagrant-aws-iam-decoder-0.7.2 lib/vagrant-aws/action/warn_networks.rb
vagrant-aws-mkubenka-0.7.2.pre.14 lib/vagrant-aws/action/warn_networks.rb
vagrant-aws-mkubenka-0.7.2.pre.11 lib/vagrant-aws/action/warn_networks.rb
vagrant-aws-mkubenka-0.7.2.pre.10 lib/vagrant-aws/action/warn_networks.rb
vagrant-aws-mkubenka-0.7.2.pre.9 lib/vagrant-aws/action/warn_networks.rb
vagrant-aws-mkubenka-0.7.2.pre.8 lib/vagrant-aws/action/warn_networks.rb
vagrant-aws-0.7.2 lib/vagrant-aws/action/warn_networks.rb
vagrant-aws-0.7.1 lib/vagrant-aws/action/warn_networks.rb
vagrant-aws-0.7.0 lib/vagrant-aws/action/warn_networks.rb
vagrant-aws-0.6.0 lib/vagrant-aws/action/warn_networks.rb
vagrant-aws-0.5.0 lib/vagrant-aws/action/warn_networks.rb
vagrant-aws_stsmith-0.5.0.dev lib/vagrant-aws/action/warn_networks.rb
vagrant-aws-stsmith-0.5.0.dev lib/vagrant-aws/action/warn_networks.rb