Resource Type: em_entitlement

Defined in:
lib/puppet/type/em_entitlement.rb
Providers:
simple

Overview

Using this Puppet type, you can manage the nodes entitled to use a specific module.

Here is an example on how to use this:

em_entitlement { 'license_id/my_module@mynode2.domain.nl->puppet.server.com':
  ensure => 'present',
}

The way to read this is:

The license provided by Enterprise Modules with license_id, allows you to use the module ‘my_module` on a number of named nodes. This puppet declaration enables node `puppet.server.com` connected to puppet server `puppet.server.com` one of these entitlements.

You can also use the variant without a specified pupet server. The syntax is then:

em_entitlement { 'licenseid/module@mynode2.domain.nl':
  ensure => 'present',
}

It will then use the current puppet server as the default.

Properties

  • ensure (defaults to: present)

    The basic property that the resource should be in.

    Supported values:
    • present
    • absent

Parameters

  • provider

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