Resource Type: pcmk_bundle
- Defined in:
- lib/puppet/type/pcmk_bundle.rb
- Providers:
-
default
Overview
Resource definition for a pacemaker resource bundle
Properties
-
container_backend
(defaults to: docker)
Container backend
-
container_options
options to pcs container argument
-
ensure
(defaults to: present)
The basic property that the resource should be in.
Supported values:- present
- absent
-
image
docker image
-
location_rule
A location rule constraint hash
-
masters
number of masters
-
network
network options
-
options
docker options
-
replicas
number of replicas
-
run_command
dock run command
-
storage_maps
storage maps
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
-
force
(defaults to: false)
Wheter to use –force with pcs
Supported values:- true
- false
- yes
- no
-
name (namevar)
A unique name for the resource
-
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_bundle` 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’.
-
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