Commit Graph

11 Commits

Author SHA1 Message Date
Takashi Kajinami 1854f9a641 Remove EC2 API
... because support for EC2 API was alreday removed from
tripleo-heat-templates[1].

[1] 7adb850fbc6b4544a542111c930e9169e2051ba7

Change-Id: I16ddf16a39c5f7edd9a4ddf669d0993d9aaa676b
2020-05-06 22:10:12 +09:00
Alex Schultz a566d6b9b8 Add check for bootstrap_node for downcase
Downcase in puppet 6.14 throws an error if the input to it is Undef. We
can avoid this by checking for a value before trying to downcase.

See context https://review.rdoproject.org/r/#/c/26297/

Change-Id: Ib2e97060523a4198a14949a15c9171b56928699c
2020-04-07 14:51:41 -06:00
Tobias Urdin 1523a4b804 Convert all class usage to relative names
Change-Id: Ib2ed745b682cf12f9469a5a64451adcabec400af
2019-12-08 23:23:25 +01:00
Bogdan Dobrelya 3a5294ea9a Add missing base apache configs when internal TLS
Some services are missing the base apache configuration, when
running with TLS and under WSGI. Address that in its base
profiles.

Related-Bug: #1835414

Change-Id: I8148a039ab9dcbc97baff141aae6ebab4c27e16d
Signed-off-by: Bogdan Dobrelya <bdobreli@redhat.com>
2019-08-01 17:10:04 +02:00
Steven Hardy 9cde9139c4 Replace bootstrap_nodeid with SERVICE_short_bootstrap_node_name
This solves the problem that bootstrap_nodeid, which is set to the
first node in each role via t-h-t, can match potentially more than
one node - e.g in the event that a service is deployed such that it
spans more than one role.

The SERVICE_short_bootstrap_node_name is automatically generated
based on the composable service template service_name, and this
considers all roles where the service is enabled, e.g it should
only evaluate true once regardles off the roles where the service
is enabled.

Change-Id: I48ec4549552910f3cb8db960b0ff10a6c61b4bb9
Partial-Bug: #1792613
2018-10-12 10:14:48 +00:00
Oliver Walsh 26e053153b Set ProxyPreserveHost in ec2api TLS proxy
bp tls-via-certmonger-containers

Change-Id: Iae8e61cb5be4faeea8861296629dd6a5f3ed4f01
2017-11-23 10:49:00 +00:00
Rajesh Tailor df9f68f206 Add TLS for ec2api metadata service
This adds a TLS proxy in front of it so it serves TLS in the
internal network.

bp tls-via-certmonger

Change-Id: Id7d487abb65cf17cd65626e582bf4ff950b4395c
2017-11-08 11:45:47 +05:30
Rajesh Tailor 24a3e20eed Add TLS for ec2api service
This adds a TLS proxy in front of it so it serves TLS in the
internal network.

bp tls-via-certmonger
Change-Id: I24d990eccf7affd5f3899338ac96d02d2d47460e
2017-11-01 18:30:11 +05:30
Steve Baker 94f13e6608 Ensure hiera step value is an integer
The step is typically set with the hieradata setting an integer value:

  {"step": 1}

However it would be useful for the value to be a string so that
substitutions are possible, for example:

  {"step": "%{::step}"}

This change ensures the step parameter defaults to an integer by
calling Integer(hiera('step'))

This change was made by manually removing the undef defaults from
fluentd.pp, uchiwa.pp, and sensu.pp then bulk updating with:

    find ./ -type f -print0 |xargs -0 sed -i "s/= hiera('step')/= Integer(hiera('step'))/"

Change-Id: I8a47ca53a7dea8391103abcb8960a97036a6f5b3
2017-06-14 14:31:52 +12:00
Sven Anderson faa2ec4b16 Add missing include of ::ec2api::keystone::authtoken
Change-Id: Id933276fab16eebd72751dca136ad805547e6291
Related-Bug: #1676491
2017-03-27 22:37:15 +02:00
Sven Anderson 0b32f609ad Implement Nova ec2api profile
Change-Id: If4b091e1ca02f43aa9c65392baf8ceea007b7cfb
2017-01-20 14:08:30 +01:00