Sha256: be193fc8b54dbd529ce7e9052eafdadfc494fedbfa3b610972bee18c6994a184
Contents?: true
Size: 386 Bytes
Versions: 2
Compression:
Stored size: 386 Bytes
Contents
module VagrantPlugins module Smartos class Provider class IsCreated def initialize(app, env) @app = app @logger = Log4r::Logger.new("vagrant_smartos::action::is_created") end def call(env) env[:result] = env[:machine].state.id != :not_created @app.call(env) end end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
vagrant-smartos-0.0.2pre1 | lib/vagrant-smartos/action/is_created.rb |
vagrant-smartos-0.0.1alpha | lib/vagrant-smartos/action/is_created.rb |