Resource Type: swift_storage_policy
- Defined in:
- lib/puppet/type/swift_storage_policy.rb
- Providers:
-
ruby
Overview
Storage policy id digit
Properties
-
aliases
Storage policy aliases
Supported values:- /([a-zA-Z\d\-]+,\s)+/
-
default
Set default on storage policy
Supported values:- /(true)|(false)/
-
deprecated
Set to yes to mark a policy as deprecated
Supported values:- /(yes)|(no)/i
-
ec_num_data_fragments
The total number of fragments that will be comprised of data.
Supported values:- /\d+/
-
ec_num_parity_fragments
The total number of fragments that will be comprised of parity
Supported values:- /\d+/
-
ec_object_segment_size
The amount of data that will be buffered up before feeding a segment into the encoder/decoder
Supported values:- /\d+/
-
ec_type
Type of erasure code to use
Supported values:- /\w+/
-
ensure
(defaults to: present)
The basic property that the resource should be in.
Supported values:- present
- absent
-
policy_name
Supported values:
- /[a-zA-Z\d\-]+/
-
policy_type
Type of storage policy, ec or replication
Supported values:- /(replication)|(erasure_coding)/i
Parameters
-
name (namevar)
Storage policy id digit
Supported values:- /\d+/
-
provider
The specific backend to use for this ‘swift_storage_policy` resource. You will seldom need to specify this — Puppet will usually discover the appropriate provider for your platform.