Resource Type: pcmk_constraint

Defined in:
lib/puppet/type/pcmk_constraint.rb
Providers:
default

Overview

Base constraint definition for a pacemaker constraint

Properties

  • ensure (defaults to: present)

    The basic property that the resource should be in.

    Supported values:
    • present
    • absent

Parameters

  • constraint_params

    Constraint parameters in ordering constraint

  • constraint_type

    the pacemaker type to create

    Supported values:
    • location
    • colocation
    • order
  • first_action

    First action in ordering constraint

  • first_resource

    First resource in ordering constraint

  • location

    location

    Supported values:
    • /.+/
  • master_slave

    Enable master/slave support with multistage

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

    A unique name for the constraint

  • provider

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

  • resource

    resource list

    Supported values:
    • /.+/
  • score

    Score

  • second_action

    Second action in ordering constraint

  • second_resource

    Second resource in ordering constraint

  • tries (defaults to: 1)

    The number of times to attempt to create a pcs resource. Defaults to ‘1’.

  • try_sleep (defaults to: 0)

    The time to sleep in seconds between ‘tries’.