diff options
author | Carlos Camacho <ccamacho@redhat.com> | 2016-06-20 08:51:15 +0200 |
---|---|---|
committer | Emilien Macchi <emilien@redhat.com> | 2016-06-30 22:54:01 +0000 |
commit | 2cc01b9d985a8a5518dc6364307d205f804e350e (patch) | |
tree | f6952c8f392567900261db838fcf3c2c9c608dce | |
parent | 68372785cdea95f702f7b983d4697924d51e3fd6 (diff) |
Composable Timezone service - Compute
Add timezone as a composable service
Change-Id: I6e0e9cef3703cd186eab15d76e611d00c1da4a4e
Partially-implements: blueprint composable-services-within-roles
-rw-r--r-- | overcloud.yaml | 2 | ||||
-rw-r--r-- | puppet/compute.yaml | 6 | ||||
-rw-r--r-- | puppet/manifests/overcloud_compute.pp | 2 |
3 files changed, 1 insertions, 9 deletions
diff --git a/overcloud.yaml b/overcloud.yaml index 62dfb942..10a3cf04 100644 --- a/overcloud.yaml +++ b/overcloud.yaml @@ -576,6 +576,7 @@ parameters: ComputeServices: default: + - OS::TripleO::Services::Timezone - OS::TripleO::Services::NovaCompute - OS::TripleO::Services::Ntp - OS::TripleO::Services::Snmp @@ -950,7 +951,6 @@ resources: RabbitClientUseSSL: {get_param: RabbitClientUseSSL} RabbitClientPort: {get_param: RabbitClientPort} ServiceNetMap: {get_param: ServiceNetMap} - TimeZone: {get_param: TimeZone} EndpointMap: {get_attr: [EndpointMap, endpoint_map]} UpdateIdentifier: {get_param: UpdateIdentifier} Hostname: diff --git a/puppet/compute.yaml b/puppet/compute.yaml index 1bc0e0f0..3730faf8 100644 --- a/puppet/compute.yaml +++ b/puppet/compute.yaml @@ -272,10 +272,6 @@ parameters: description: Mapping of service endpoint -> protocol. Typically set via parameter_defaults in the resource registry. type: json - TimeZone: - default: 'UTC' - description: The timezone to be set on compute nodes. - type: string UpdateIdentifier: default: '' type: string @@ -565,7 +561,6 @@ resources: neutron::plugins::ml2::mechanism_drivers: {get_input: neutron_mechanism_drivers} keystone_public_api_virtual_ip: {get_input: keystone_vip} admin_password: {get_input: admin_password} - timezone::timezone: {get_input: timezone} tripleo::packages::enable_install: {get_input: enable_package_install} tripleo::packages::enable_upgrade: {get_input: enable_package_upgrade} @@ -680,7 +675,6 @@ resources: rabbit_password: {get_param: RabbitPassword} rabbit_client_use_ssl: {get_param: RabbitClientUseSSL} rabbit_client_port: {get_param: RabbitClientPort} - timezone: {get_param: TimeZone} enable_package_install: {get_param: EnablePackageInstall} enable_package_upgrade: {get_attr: [UpdateDeployment, update_managed_packages]} diff --git a/puppet/manifests/overcloud_compute.pp b/puppet/manifests/overcloud_compute.pp index bb9af468..af04d657 100644 --- a/puppet/manifests/overcloud_compute.pp +++ b/puppet/manifests/overcloud_compute.pp @@ -20,8 +20,6 @@ create_resources(kmod::load, hiera('kernel_modules'), { }) create_resources(sysctl::value, hiera('sysctl_settings'), { }) Exec <| tag == 'kmod::load' |> -> Sysctl <| |> -include ::timezone - if hiera('step') >= 4 { file { ['/etc/libvirt/qemu/networks/autostart/default.xml', |