Merge "Deprecate support for novajoin"
This commit is contained in:
		@@ -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
 | 
			
		||||
 
 | 
			
		||||
@@ -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' |>
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
@@ -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
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
@@ -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)
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
@@ -0,0 +1,5 @@
 | 
			
		||||
---
 | 
			
		||||
deprecations:
 | 
			
		||||
  - |
 | 
			
		||||
    Support for novajoin service has been deprecated and will be removed in
 | 
			
		||||
    a future release.
 | 
			
		||||
		Reference in New Issue
	
	Block a user