Merge "Composable roles within services - NTP - CephStorage"
This commit is contained in:
commit
e86786211a
@ -692,7 +692,8 @@ parameters:
|
|||||||
description: Optional scheduler hints to pass to nova
|
description: Optional scheduler hints to pass to nova
|
||||||
default: {}
|
default: {}
|
||||||
CephStorageServices:
|
CephStorageServices:
|
||||||
default: []
|
default:
|
||||||
|
- OS::TripleO::Services::Ntp
|
||||||
description: A list of service resources (configured in the Heat
|
description: A list of service resources (configured in the Heat
|
||||||
resource_registry) which represent nested stacks
|
resource_registry) which represent nested stacks
|
||||||
for each service that should get installed on the CephStorage nodes.
|
for each service that should get installed on the CephStorage nodes.
|
||||||
@ -1099,7 +1100,6 @@ resources:
|
|||||||
Image: {get_param: CephStorageImage}
|
Image: {get_param: CephStorageImage}
|
||||||
KeyName: {get_param: KeyName}
|
KeyName: {get_param: KeyName}
|
||||||
Flavor: {get_param: OvercloudCephStorageFlavor}
|
Flavor: {get_param: OvercloudCephStorageFlavor}
|
||||||
NtpServer: {get_param: NtpServer}
|
|
||||||
ServiceNetMap: {get_param: ServiceNetMap}
|
ServiceNetMap: {get_param: ServiceNetMap}
|
||||||
TimeZone: {get_param: TimeZone}
|
TimeZone: {get_param: TimeZone}
|
||||||
UpdateIdentifier: {get_param: UpdateIdentifier}
|
UpdateIdentifier: {get_param: UpdateIdentifier}
|
||||||
|
@ -21,10 +21,6 @@ parameters:
|
|||||||
default: default
|
default: default
|
||||||
constraints:
|
constraints:
|
||||||
- custom_constraint: nova.keypair
|
- custom_constraint: nova.keypair
|
||||||
NtpServer:
|
|
||||||
default: ''
|
|
||||||
description: Comma-separated list of ntp servers
|
|
||||||
type: comma_delimited_list
|
|
||||||
EnablePackageInstall:
|
EnablePackageInstall:
|
||||||
default: 'false'
|
default: 'false'
|
||||||
description: Set to true to enable package installation via Puppet
|
description: Set to true to enable package installation via Puppet
|
||||||
@ -232,7 +228,6 @@ resources:
|
|||||||
config: {get_resource: CephStorageConfig}
|
config: {get_resource: CephStorageConfig}
|
||||||
server: {get_resource: CephStorage}
|
server: {get_resource: CephStorage}
|
||||||
input_values:
|
input_values:
|
||||||
ntp_servers: {get_param: NtpServer}
|
|
||||||
timezone: {get_param: TimeZone}
|
timezone: {get_param: TimeZone}
|
||||||
enable_package_install: {get_param: EnablePackageInstall}
|
enable_package_install: {get_param: EnablePackageInstall}
|
||||||
enable_package_upgrade: {get_attr: [UpdateDeployment, update_managed_packages]}
|
enable_package_upgrade: {get_attr: [UpdateDeployment, update_managed_packages]}
|
||||||
@ -274,7 +269,6 @@ resources:
|
|||||||
ceph:
|
ceph:
|
||||||
raw_data: {get_file: hieradata/ceph.yaml}
|
raw_data: {get_file: hieradata/ceph.yaml}
|
||||||
mapped_data:
|
mapped_data:
|
||||||
ntp::servers: {get_input: ntp_servers}
|
|
||||||
timezone::timezone: {get_input: timezone}
|
timezone::timezone: {get_input: timezone}
|
||||||
tripleo::packages::enable_install: {get_input: enable_package_install}
|
tripleo::packages::enable_install: {get_input: enable_package_install}
|
||||||
tripleo::packages::enable_upgrade: {get_input: enable_package_upgrade}
|
tripleo::packages::enable_upgrade: {get_input: enable_package_upgrade}
|
||||||
|
@ -24,9 +24,6 @@ if hiera('step') >= 1 {
|
|||||||
|
|
||||||
include ::timezone
|
include ::timezone
|
||||||
|
|
||||||
if count(hiera('ntp::servers')) > 0 {
|
|
||||||
include ::ntp
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if hiera('step') >= 3 {
|
if hiera('step') >= 3 {
|
||||||
|
Loading…
Reference in New Issue
Block a user