Ensure package_ensure takes a support value
puppetlabs-stdlib provides the type to validate a parameter which is used to define ensure of a package resource. This adds validation using that type. Change-Id: Icd4592fa8b53f5b3c9224df5f1a866ae21c2b0d4
This commit is contained in:
parent
2079fb1ff5
commit
d82e091fb8
|
@ -231,7 +231,7 @@
|
||||||
# Defaults to $facts['os_service_default']
|
# Defaults to $facts['os_service_default']
|
||||||
#
|
#
|
||||||
class barbican::api (
|
class barbican::api (
|
||||||
$package_ensure = 'present',
|
Stdlib::Ensure::Package $package_ensure = 'present',
|
||||||
$bind_host = '0.0.0.0',
|
$bind_host = '0.0.0.0',
|
||||||
$bind_port = '9311',
|
$bind_port = '9311',
|
||||||
$host_href = undef,
|
$host_href = undef,
|
||||||
|
|
|
@ -14,7 +14,7 @@
|
||||||
# Defaults to false.
|
# Defaults to false.
|
||||||
#
|
#
|
||||||
class barbican(
|
class barbican(
|
||||||
$package_ensure = 'present',
|
Stdlib::Ensure::Package $package_ensure = 'present',
|
||||||
$purge_config = false,
|
$purge_config = false,
|
||||||
) {
|
) {
|
||||||
|
|
||||||
|
|
|
@ -38,7 +38,7 @@ class barbican::keystone::notification (
|
||||||
$keystone_notification_topic = $facts['os_service_default'],
|
$keystone_notification_topic = $facts['os_service_default'],
|
||||||
$keystone_notification_allow_requeue = $facts['os_service_default'],
|
$keystone_notification_allow_requeue = $facts['os_service_default'],
|
||||||
$keystone_notification_thread_pool_size = $facts['os_service_default'],
|
$keystone_notification_thread_pool_size = $facts['os_service_default'],
|
||||||
$package_ensure = 'present',
|
Stdlib::Ensure::Package $package_ensure = 'present',
|
||||||
Boolean $manage_service = true,
|
Boolean $manage_service = true,
|
||||||
) {
|
) {
|
||||||
|
|
||||||
|
|
|
@ -25,7 +25,7 @@
|
||||||
# Defaults to $facts['os_service_default']
|
# Defaults to $facts['os_service_default']
|
||||||
#
|
#
|
||||||
class barbican::retry_scheduler (
|
class barbican::retry_scheduler (
|
||||||
$package_ensure = 'present',
|
Stdlib::Ensure::Package $package_ensure = 'present',
|
||||||
Boolean $manage_service = true,
|
Boolean $manage_service = true,
|
||||||
Boolean $enabled = true,
|
Boolean $enabled = true,
|
||||||
$initial_delay_seconds = $facts['os_service_default'],
|
$initial_delay_seconds = $facts['os_service_default'],
|
||||||
|
|
|
@ -34,7 +34,7 @@
|
||||||
# Defaults to true
|
# Defaults to true
|
||||||
#
|
#
|
||||||
class barbican::worker (
|
class barbican::worker (
|
||||||
$package_ensure = 'present',
|
Stdlib::Ensure::Package $package_ensure = 'present',
|
||||||
Boolean $manage_service = true,
|
Boolean $manage_service = true,
|
||||||
Boolean $enabled = true,
|
Boolean $enabled = true,
|
||||||
) inherits barbican::params {
|
) inherits barbican::params {
|
||||||
|
|
Loading…
Reference in New Issue