Sha256: 5d9d015a7b2876887508a90b04350a842a4ac812fa0191097002d1abbf647bf4

Contents?: true

Size: 495 Bytes

Versions: 27

Compression:

Stored size: 495 Bytes

Contents

module HammerCLIForeman
  module ComputeResources
    class Rackspace < Base
      def name
        'Rackspace'
      end

      def compute_attributes
        %w[flavor_id]
      end

      def provider_specific_fields
        super + [
          Fields::Field.new(:label => _('Region'), :path => [:region])
        ]
      end

      def mandatory_resource_options
        super + %i[url]
      end
    end

    HammerCLIForeman.register_compute_resource('rackspace', Rackspace.new)
  end
end

Version data entries

27 entries across 27 versions & 1 rubygems

Version Path
hammer_cli_foreman-3.8.0 lib/hammer_cli_foreman/compute_resource/rackspace.rb
hammer_cli_foreman-3.7.0 lib/hammer_cli_foreman/compute_resource/rackspace.rb
hammer_cli_foreman-3.5.1 lib/hammer_cli_foreman/compute_resource/rackspace.rb
hammer_cli_foreman-3.6.0 lib/hammer_cli_foreman/compute_resource/rackspace.rb
hammer_cli_foreman-3.5.0 lib/hammer_cli_foreman/compute_resource/rackspace.rb
hammer_cli_foreman-3.4.0 lib/hammer_cli_foreman/compute_resource/rackspace.rb
hammer_cli_foreman-3.3.0 lib/hammer_cli_foreman/compute_resource/rackspace.rb
hammer_cli_foreman-3.2.0 lib/hammer_cli_foreman/compute_resource/rackspace.rb
hammer_cli_foreman-2.5.2 lib/hammer_cli_foreman/compute_resource/rackspace.rb
hammer_cli_foreman-3.1.0 lib/hammer_cli_foreman/compute_resource/rackspace.rb
hammer_cli_foreman-3.0.0 lib/hammer_cli_foreman/compute_resource/rackspace.rb
hammer_cli_foreman-2.5.1 lib/hammer_cli_foreman/compute_resource/rackspace.rb
hammer_cli_foreman-2.5.0 lib/hammer_cli_foreman/compute_resource/rackspace.rb
hammer_cli_foreman-2.3.2 lib/hammer_cli_foreman/compute_resource/rackspace.rb
hammer_cli_foreman-2.4.0 lib/hammer_cli_foreman/compute_resource/rackspace.rb
hammer_cli_foreman-2.3.1 lib/hammer_cli_foreman/compute_resource/rackspace.rb
hammer_cli_foreman-2.3.0 lib/hammer_cli_foreman/compute_resource/rackspace.rb
hammer_cli_foreman-2.1.3 lib/hammer_cli_foreman/compute_resource/rackspace.rb
hammer_cli_foreman-2.2.0 lib/hammer_cli_foreman/compute_resource/rackspace.rb
hammer_cli_foreman-2.1.2 lib/hammer_cli_foreman/compute_resource/rackspace.rb