
Both http_url and http_root are no longer specific to the PXE driver, they can be used by several drivers for different purpose. Also ironic::drivers::deploy is a confusing name: there is no "deploy driver" in Ironic, we have deploy interface, with several implementations. This change deprecates ironic::drivers::deploy and moves its parameters to ironic::conductor where they actually belong. Change-Id: I513d826e3af2dd3b9e754f8845e3a6602b142550
41 lines
1.1 KiB
Puppet
41 lines
1.1 KiB
Puppet
# Licensed under the Apache License, Version 2.0 (the "License"); you may
|
|
# not use this file except in compliance with the License. You may obtain
|
|
# a copy of the License at
|
|
#
|
|
# http://www.apache.org/licenses/LICENSE-2.0
|
|
#
|
|
# Unless required by applicable law or agreed to in writing, software
|
|
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
|
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
|
# License for the specific language governing permissions and limitations
|
|
# under the License.
|
|
|
|
# Configure the deploy_utils in Ironic
|
|
# This manifest is deprecated, use ironic::conductor directly instead.
|
|
#
|
|
# === Parameters
|
|
#
|
|
# [*http_url*]
|
|
# (optional) ironic-conductor node's HTTP server URL. DEPRECATED.
|
|
# Defaults to undef
|
|
#
|
|
# [*http_root*]
|
|
# (optional) ironic-conductor node's HTTP root path. DEPRECATED.
|
|
# Defaults to undef
|
|
#
|
|
|
|
class ironic::drivers::deploy (
|
|
$http_url = undef,
|
|
$http_root = undef,
|
|
) {
|
|
|
|
if $http_url {
|
|
warning('http_url is deprecated and will be removed after Newton cycle.')
|
|
}
|
|
|
|
if $http_root {
|
|
warning('http_root is deprecated and will be removed after Newton cycle.')
|
|
}
|
|
|
|
}
|