Resource Type: pcmk_stonith

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

Overview

Base resource definition for a pacemaker stonith resource

Properties

  • ensure (defaults to: present)

    The basic property that the resource should be in.

    Supported values:
    • present
    • absent

Parameters

  • deep_compare (defaults to: false)

    Whether to enable deep comparing of resource When set to true a resource will be compared in full (options, meta parameters,..) to the existing one and in case of difference it will be repushed to the CIB Defaults to ‘false`.

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

    A unique name for the stonith resource.

  • pcmk_host_list

    The pcmk_host_list parameter for pcs. When set to the empty string ”, the parameter will not be used when calling pcs.

  • pcs_param_string

    The pacemaker pcs string to use.

  • post_success_sleep (defaults to: 0)

    The time to sleep after successful pcs action. The reason to set this is to avoid immediate back-to-back ‘pcs resource create’ calls when creating multiple resources. Defaults to ‘0’.

  • provider

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

  • stonith_type

    The pacemaker stonith type to create.

  • 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’.

  • update_settle_secs (defaults to: 600)

    The time in seconds to wait for the cluster to settle after resource has been updated when :deep_compare kicked in. Defaults to ‘600’.

  • verify_on_create (defaults to: false)

    Whether to verify pcs resource creation with an additional call to ‘pcs resource show’ rather than just relying on the exit status of ‘pcs resource create’. When true, $try_sleep determines how long to wait to verify and $post_success_sleep is ignored. Defaults to ‘false`.

    Supported values:
    • true
    • false
    • yes
    • no