Resource Type: pcmk_stonith_level

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

Overview

Base resource definition for a pacemaker stonith level resource

Properties

  • ensure (defaults to: present)

    The basic property that the resource should be in.

    Supported values:
    • present
    • absent

Parameters

  • level

    The stonith level

  • name (namevar)

    A unique name for the stonith level

  • 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_level` resource. You will seldom need to specify this — Puppet will usually discover the appropriate provider for your platform.

  • stonith_resources

    The array containing the list of stonith devices

  • target

    The pacemaker stonith target to apply the level to

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

  • 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