Resource Type: pacemaker_pcsd_auth

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

Overview

Use the “pcs” command to authenticate nodes in each other’s “pcsd” daemon so the cluster can be managed. This is a “singleton” type, usually there is no need to have several instances of it in a single catalog.

But, if you have serious reasons to, you can have many instances of this type with different sets of cluster nodes or other parameters.

Properties

  • success (defaults to: true)

    Should the auth succeed? The value of this property should be true. Setting it to false will disable the retry loop that waits for the auth success.

Parameters

  • force (defaults to: false)

    Re-authenticate nodes on each run even if they are already authenticated.

    Supported values:
    • true
    • false
    • yes
    • no
  • local (defaults to: false)

    Don’t authenticate all the nodes to each other. Authenticate only the local node. It may be helpful if the other cluster nodes are not online. Requires the ‘whole’ parameter to be set to false.

    Supported values:
    • true
    • false
    • yes
    • no
  • name (namevar)
  • nodes (defaults to: [])

    The list of cluster nodes to authenticate. The retrieved values would be the list of successfully authenticated nodes. Order of the nodes list does not matter.

  • password

    Use this user to access the nodes

  • provider

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

  • username (defaults to: hacluster)

    Use this user to access the nodes Default: hacluster

  • whole (defaults to: true)

    Consider authentication successful only if the whole cluster have been authenticated, or the local node alone is enough to continue the deployment. Other nodes may come online later.

    Supported values:
    • true
    • false
    • yes
    • no