Sha256: b69a339b7678d05ed8aec70e6fb1b9c076b206203bc05e4e5fcddca2b37e012b
Contents?: true
Size: 400 Bytes
Versions: 2
Compression:
Stored size: 400 Bytes
Contents
module VagrantPlugins module Cloudstack 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_cloudstack.warn_networks")) end @app.call(env) end end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
vagrant-cloudstack-1.3.0 | lib/vagrant-cloudstack/action/warn_networks.rb |
vagrant-cloudstack-1.2.0 | lib/vagrant-cloudstack/action/warn_networks.rb |