Resource Type: pcmk_resource_default
- Defined in:
- lib/puppet/type/pcmk_resource_default.rb
- Providers:
-
pcs
Overview
A default value for pacemaker resource options
Properties
-
ensure
(defaults to: present)
The basic property that the resource should be in.
Supported values:- present
- absent
Parameters
-
name (namevar)
A unique name of the option
-
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_resource_default` resource. You will seldom need to specify this — Puppet will usually discover the appropriate provider for your platform.
-
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’.
-
value
A default value for the option
-
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