Sha256: 37b41edca1b04525c884fc620194de61d217df9eca6d5846a5038baa8cda0fe6

Contents?: true

Size: 795 Bytes

Versions: 31

Compression:

Stored size: 795 Bytes

Contents

require 'beaker-hostgenerator/data'
require 'beaker-hostgenerator/hypervisor'
require 'deep_merge'

module BeakerHostGenerator
  module Hypervisor
    class Vmpooler < BeakerHostGenerator::Hypervisor::Interface
      include BeakerHostGenerator::Data

      # default global configuration keys
      def global_config()
        {
          'pooling_api' => 'http://vmpooler.delivery.puppetlabs.net/'
        }
      end

      def generate_node(node_info, base_config, bhg_version)
        base_config = base_generate_node(node_info, base_config, bhg_version, :vmpooler)

        # Some vmpooler/vsphere platforms have special requirements.
        # We munge the node host config here if that is necessary.
        fixup_node base_config

        return base_config
      end
    end
  end
end

Version data entries

31 entries across 31 versions & 1 rubygems

Version Path
beaker-hostgenerator-1.2.10 lib/beaker-hostgenerator/hypervisor/vmpooler.rb
beaker-hostgenerator-1.2.9 lib/beaker-hostgenerator/hypervisor/vmpooler.rb
beaker-hostgenerator-1.2.8 lib/beaker-hostgenerator/hypervisor/vmpooler.rb
beaker-hostgenerator-1.2.7 lib/beaker-hostgenerator/hypervisor/vmpooler.rb
beaker-hostgenerator-1.2.6 lib/beaker-hostgenerator/hypervisor/vmpooler.rb
beaker-hostgenerator-1.2.5 lib/beaker-hostgenerator/hypervisor/vmpooler.rb
beaker-hostgenerator-1.2.4 lib/beaker-hostgenerator/hypervisor/vmpooler.rb
beaker-hostgenerator-1.2.3 lib/beaker-hostgenerator/hypervisor/vmpooler.rb
beaker-hostgenerator-1.2.2 lib/beaker-hostgenerator/hypervisor/vmpooler.rb
beaker-hostgenerator-1.2.1 lib/beaker-hostgenerator/hypervisor/vmpooler.rb
beaker-hostgenerator-1.2.0 lib/beaker-hostgenerator/hypervisor/vmpooler.rb
beaker-hostgenerator-1.1.44 lib/beaker-hostgenerator/hypervisor/vmpooler.rb
beaker-hostgenerator-1.1.43 lib/beaker-hostgenerator/hypervisor/vmpooler.rb
beaker-hostgenerator-1.1.42 lib/beaker-hostgenerator/hypervisor/vmpooler.rb
beaker-hostgenerator-1.1.41 lib/beaker-hostgenerator/hypervisor/vmpooler.rb
beaker-hostgenerator-1.1.40 lib/beaker-hostgenerator/hypervisor/vmpooler.rb
beaker-hostgenerator-1.1.39 lib/beaker-hostgenerator/hypervisor/vmpooler.rb
beaker-hostgenerator-1.1.38 lib/beaker-hostgenerator/hypervisor/vmpooler.rb
beaker-hostgenerator-1.1.37 lib/beaker-hostgenerator/hypervisor/vmpooler.rb
beaker-hostgenerator-1.1.36 lib/beaker-hostgenerator/hypervisor/vmpooler.rb