Resource Type: pacemaker_property

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

Overview

Type for manipulating corosync/pacemaker configuration properties. 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 properties 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:

P.S Looked at generating a type dynamically from the cluster’s property meta-data that would result in a single type with puppet type properties of every cluster property… may still do so in a later iteration.

Properties

  • ensure (defaults to: present)

    The basic property that the resource should be in.

    Supported values:
    • present
    • absent
  • value

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

Parameters

  • debug (defaults to: false)

    Don’t actually make changes

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

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

  • provider

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