Merge "Deprecate support for novajoin"

This commit is contained in:
Zuul 2022-03-16 21:45:17 +00:00 committed by Gerrit Code Review
commit 1aefafc563
5 changed files with 14 additions and 0 deletions

View File

@ -1,5 +1,6 @@
# == Class: nova::metadata::novajoin::api
#
# DEPRECATED !
# The nova::metadata::novajoin::api class encapsulates an
# IPA Nova Join API service.
#
@ -132,6 +133,8 @@ class nova::metadata::novajoin::api (
$configure_kerberos = false,
$ipa_realm = undef,
) {
warning('Support for novajoin service is deprecated!')
include nova::params
include nova::metadata::novajoin::authtoken
include nova::metadata::novajoin::policy

View File

@ -1,5 +1,6 @@
# == Class: nova::metadata::novajoin::auth
#
# DEPRECATED !
# Creates nova endpoints and service account in keystone
#
# === Parameters:
@ -90,6 +91,7 @@ class nova::metadata::novajoin::auth(
$configure_user = true,
$configure_user_role = true,
) {
warning('Support for novajoin service is deprecated!')
Keystone::Resource::Service_identity['novajoin'] -> Service <| name == 'novajoin-server' |>

View File

@ -1,5 +1,6 @@
# class: nova::metadata::novajoin::authtoken
#
# DEPRECATED !
# Configure the keystone_authtoken section in the configuration file
#
# === Parameters
@ -235,6 +236,7 @@ class nova::metadata::novajoin::authtoken(
$interface = $::os_service_default,
$params = {},
) {
warning('Support for novajoin service is deprecated!')
include nova::deps

View File

@ -1,5 +1,6 @@
# == Class: nova::metadata::novajoin::policy
#
# DEPRECATED !
# Configure the nova policies
#
# === Parameters
@ -29,6 +30,7 @@ class nova::metadata::novajoin::policy (
$policy_path = '/etc/novajoin/policy.yaml',
$purge_config = false,
) {
warning('Support for novajoin service is deprecated!')
validate_legacy(Hash, 'validate_hash', $policies)

View File

@ -0,0 +1,5 @@
---
deprecations:
- |
Support for novajoin service has been deprecated and will be removed in
a future release.