Resource Type: rhsm_pool

Defined in:
lib/puppet/type/rhsm_pool.rb
Providers:
subscription_manager

Overview

An Entitlement Pool from which active subscriptions can be drawn.

This is also commonly called a subscription, RPM Pool or (incorrectly) a repository but properly refers to the rights to a view of repositories created inside the server.

Example: an entitlement to access the EPEL repositories on the current server.

rhsm_pool { ‘1a2b3c4d5e6f1234567890abcdef12345’:

subscription_name => 'Extra Packages for Enterprise Linux',
ensure            => present,
provides          => 'EPEL',
sku               => 1234536789012,
contract          => 'Fancy Widgets, LTD',
account           => '1234-12-3456-0001',
serial            => 1234567890123456789,
id                => '1a2b3c4d5e6f1234567890abcdef12345',
active            => true,
quantity_used     => 1,
service_level     => 'STANDARD',
service_type      => 'EOL',
status_details    => 'expired',
subscription_type => 'permanent',
starts            => 06/01/2015,
ends              => 05/24/2045,
system_type       => physical,

}

Properties

  • account

    Identification of the account for the subscription to this pool

  • active

    Is this pool active or inactive for this system

    Supported values:
    • true
    • false
  • contract

    Identification of the contract for the subscription to this pool

  • ends

    When does this subscription to the pool end?

  • ensure

    The basic property that the resource should be in.

    Supported values:
    • present
    • absent
  • provides

    What does this pool provide?

  • quantity_used

    How many subscriptions are used for this pool (e.g. Sockets for per CPU licenses)

  • serial

    Serial number on the server for this pool

  • service_level

    The service level for this subscription to the pool

  • service_type

    The type of service provided

  • sku

    Stockkeeping Unit identification for this item?

  • starts

    When does this subscription to the pool start?

  • status_details

    Freeform details about the status of the pool subscription

  • subscription_name

    A locally unique idenification for this pool

  • subscription_type

    The type of subscription to this pool the server has

  • system_type

    Is this a physcial, virtual or container system

    Supported values:
    • Physical
    • Virtual
    • Container

Parameters

  • id

    An Entitlement Pool to which the server is subscribed (Pool ID)

  • provider

    The specific backend to use for this ‘rhsm_pool` resource. You will seldom need to specify this — Puppet will usually discover the appropriate provider for your platform.