Sha256: 32284aaaa2a068008f564460506f15d7294123da6243dfec4e294cdc6f4e6b4b

Contents?: true

Size: 328 Bytes

Versions: 31

Compression:

Stored size: 328 Bytes

Contents

module Veewee
  module Provider
    module Kvm
      module BoxCommand

        def poweroff(options={})
          matched_servers=@connection.servers.all(:name => name)
          matched_servers.first.stop unless matched_servers.nil?
        end

      end # End Module
    end # End Module
  end # End Module
end # End Module

Version data entries

31 entries across 31 versions & 2 rubygems

Version Path
veewee-0.5.0.alpha4 lib/veewee/provider/kvm/box/poweroff.rb
veewee-0.5.0.alpha3 lib/veewee/provider/kvm/box/poweroff.rb
veewee-0.5.0.alpha2 lib/veewee/provider/kvm/box/poweroff.rb
veewee-0.5.0.alpha1 lib/veewee/provider/kvm/box/poweroff.rb
veewee-0.4.5.1 lib/veewee/provider/kvm/box/poweroff.rb
veewee-0.4.5 lib/veewee/provider/kvm/box/poweroff.rb
veewee-0.4.5.pre1 lib/veewee/provider/kvm/box/poweroff.rb
veewee-0.4.4 lib/veewee/provider/kvm/box/poweroff.rb
veewee-0.4.3 lib/veewee/provider/kvm/box/poweroff.rb
veewee-0.4.2 lib/veewee/provider/kvm/box/poweroff.rb
veewee-0.4.1 lib/veewee/provider/kvm/box/poweroff.rb
veewee-0.4.0 lib/veewee/provider/kvm/box/poweroff.rb
veewee-0.3.12 lib/veewee/provider/kvm/box/poweroff.rb
veewee-0.3.11 lib/veewee/provider/kvm/box/poweroff.rb
veewee-0.3.10 lib/veewee/provider/kvm/box/poweroff.rb
veewee-0.3.9 lib/veewee/provider/kvm/box/poweroff.rb
veewee-atlassian-0.3.11 lib/veewee/provider/kvm/box/poweroff.rb
veewee-0.3.7 lib/veewee/provider/kvm/box/poweroff.rb
veewee-0.3.6 lib/veewee/provider/kvm/box/poweroff.rb
veewee-0.3.5 lib/veewee/provider/kvm/box/poweroff.rb