Merge tag '15.4.0' into debian/train
puppet-gnocchi 15.4.0 release
meta:version: 15.4.0
meta:diff-start: -
meta:series: train
meta:release-type: release
meta:pypi: no
meta:first: no
meta:release:Author: Emilien Macchi <emilien@redhat.com>
meta:release:Commit: Emilien Macchi <emilien@redhat.com>
meta:release:Change-Id: Ia7c2bf3f2d47de4b2cbd4839b6ada23f278485a9
meta:release:Code-Review+1: yatin <ykarel@redhat.com>
meta:release:Code-Review+1: Alfredo Moralejo <amoralej@redhat.com>
meta:release:Code-Review+2: Thierry Carrez <thierry@openstack.org>
meta:release:Code-Review+2: Jean-Philippe Evrard <jean-philippe@evrard.me>
meta:release:Workflow+1: Jean-Philippe Evrard <jean-philippe@evrard.me>
Thomas Goirand
4 years ago
158 | 158 | # (Optional) In order to prevent excessive effort spent validating tokens, |
159 | 159 | # the middleware caches previously-seen tokens for a configurable duration |
160 | 160 | # (in seconds). Set to -1 to disable caching completely. Integer value |
161 | # Defaults to $::os_service_default. | |
162 | # | |
163 | # [*service_token_roles*] | |
164 | # (Optional) A choice of roles that must be present in a service token. | |
165 | # Service tokens are allowed to request that an expired token | |
166 | # can be used and so this check should tightly control that | |
167 | # only actual services should be sending this token. Roles | |
168 | # here are applied as an ANY check so any role in this list | |
169 | # must be present. For backwards compatibility reasons this | |
170 | # currently only affects the allow_expired check. (list value) | |
161 | 171 | # Defaults to $::os_service_default. |
162 | 172 | # |
163 | 173 | # [*service_token_roles_required*] |
199 | 209 | $manage_memcache_package = false, |
200 | 210 | $region_name = $::os_service_default, |
201 | 211 | $token_cache_time = $::os_service_default, |
212 | $service_token_roles = $::os_service_default, | |
202 | 213 | $service_token_roles_required = $::os_service_default, |
203 | 214 | ) { |
204 | 215 | |
241 | 252 | manage_memcache_package => $manage_memcache_package, |
242 | 253 | region_name => $region_name, |
243 | 254 | token_cache_time => $token_cache_time, |
255 | service_token_roles => $service_token_roles, | |
244 | 256 | service_token_roles_required => $service_token_roles_required, |
245 | 257 | } |
246 | 258 | } |
6 | 6 | }, |
7 | 7 | { |
8 | 8 | "name": "openstack/keystone", |
9 | "version_requirement": ">=15.2.0 <16.0.0" | |
9 | "version_requirement": ">=15.4.0 <16.0.0" | |
10 | 10 | }, |
11 | 11 | { |
12 | 12 | "name": "puppetlabs/stdlib", |
18 | 18 | }, |
19 | 19 | { |
20 | 20 | "name": "openstack/openstacklib", |
21 | "version_requirement": ">=15.2.0 <16.0.0" | |
21 | "version_requirement": ">=15.4.0 <16.0.0" | |
22 | 22 | }, |
23 | 23 | { |
24 | 24 | "name": "openstack/oslo", |
25 | "version_requirement": ">=15.2.0 <16.0.0" | |
25 | "version_requirement": ">=15.4.0 <16.0.0" | |
26 | 26 | } |
27 | 27 | ], |
28 | 28 | "description": "Installs and configures OpenStack Gnocchi (Metric & index storage API).", |
64 | 64 | ], |
65 | 65 | "source": "git://github.com/openstack/puppet-gnocchi.git", |
66 | 66 | "summary": "Puppet module for OpenStack Gnocchi", |
67 | "version": "15.2.0" | |
67 | "version": "15.4.0" | |
68 | 68 | } |
41 | 41 | is_expected.to contain_gnocchi_config('keystone_authtoken/memcached_servers').with_value('<SERVICE DEFAULT>') |
42 | 42 | is_expected.to contain_gnocchi_config('keystone_authtoken/region_name').with_value('<SERVICE DEFAULT>') |
43 | 43 | is_expected.to contain_gnocchi_config('keystone_authtoken/token_cache_time').with_value('<SERVICE DEFAULT>') |
44 | is_expected.to contain_gnocchi_config('keystone_authtoken/service_token_roles').with_value('<SERVICE DEFAULT>') | |
44 | 45 | is_expected.to contain_gnocchi_config('keystone_authtoken/service_token_roles_required').with_value('<SERVICE DEFAULT>') |
45 | 46 | end |
46 | 47 | end |
80 | 81 | :manage_memcache_package => true, |
81 | 82 | :region_name => 'region2', |
82 | 83 | :token_cache_time => '301', |
84 | :service_token_roles => ['service'], | |
83 | 85 | :service_token_roles_required => false, |
84 | 86 | }) |
85 | 87 | end |
116 | 118 | is_expected.to contain_gnocchi_config('keystone_authtoken/memcached_servers').with_value('memcached01:11211,memcached02:11211') |
117 | 119 | is_expected.to contain_gnocchi_config('keystone_authtoken/region_name').with_value(params[:region_name]) |
118 | 120 | is_expected.to contain_gnocchi_config('keystone_authtoken/token_cache_time').with_value(params[:token_cache_time]) |
121 | is_expected.to contain_gnocchi_config('keystone_authtoken/service_token_roles').with_value(params[:service_token_roles]) | |
119 | 122 | is_expected.to contain_gnocchi_config('keystone_authtoken/service_token_roles_required').with_value(params[:service_token_roles_required]) |
120 | 123 | end |
121 | 124 |
3 | 3 | envlist = releasenotes |
4 | 4 | |
5 | 5 | [testenv] |
6 | install_command = pip install -c{env:UPPER_CONSTRAINTS_FILE:https://opendev.org/openstack/requirements/raw/branch/master/upper-constraints.txt} {opts} {packages} | |
6 | install_command = pip install -c{env:UPPER_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master} {opts} {packages} | |
7 | 7 | |
8 | 8 | [testenv:releasenotes] |
9 | 9 | basepython = python3 |