Resource Type: pacemaker_resource_default

Defined in:
lib/puppet/type/pacemaker_resource_default.rb
Providers:
pcs
xml
noop

Overview

Type for manipulating corosync/pacemaker configuration rsc_defaults. Besides the configuration file that is managed by the module the contains all these related Corosync types and providers, there is a set of cluster rsc_defaults that can be set and saved inside the CIB (A CIB being a set of configuration that is synced across the cluster, it can be exported as XML for processing and backup). The type is pretty simple interface for setting key/value pairs or removing them completely. Removing them will result in them taking on their default value.

More information on cluster properties can be found here:

Properties

  • ensure (defaults to: present)

    The basic property that the resource should be in.

    Supported values:
    • present
    • absent
  • value

    Value of the rsc_defaults. It is expected that this will be a single value but we aren’t validating string vs. integer vs. boolean because cluster rsc_resources can range the gambit.

Parameters

  • debug (defaults to: false)

    Don’t actually make any changes

    Supported values:
    • true
    • false
    • yes
    • no
  • name (namevar)

    Name identifier of this rsc_defaults. Simply the name of the cluster rsc_defaults. Happily most of these are unique.

  • provider

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