Deprecate tripleo::profile::base::docker(_registry)

These profiles are replaced by https://github.com/openstack/ansible-role-container-registry,
so we deprecate it now and will remove the code in the future.

Depends-On: Iee0e08cd48f173a39a6f3a1ea54b29e370d4f334
Change-Id: I9e2a475e4582deec383b92f368e9a834122f65bb
This commit is contained in:
Emilien Macchi 2018-05-06 22:38:33 -07:00
parent 3b6c90ad70
commit 767cd520bd
2 changed files with 7 additions and 0 deletions

View File

@ -101,6 +101,8 @@ class tripleo::profile::base::docker (
$insecure_registry = false,
) {
warning('tripleo::profile::base::docker(_registry) are deprecated and will be removed in the future.')
if $step >= 1 {
package {'docker':
ensure => installed,

View File

@ -0,0 +1,5 @@
---
deprecations:
- |
tripleo::profile::base::docker(_registry) are deprecated (replaced by ansible-role-container-registry)
and will be removed in the next release.