06a5359aaf
This patch broke some deployments not having the latest THT
which configure the new wrappers; we shouldn't have removed
that code in Train and leave it.
We need to respect the stable policy and keep this code around for Train.
Closes-Bug: #1866920
This reverts commit 19f0181d83
.
Change-Id: I13434d961e72a944e49e3ddba2ec512d4d786690
55 lines
1.5 KiB
Puppet
55 lines
1.5 KiB
Puppet
# Copyright 2018 Red Hat, Inc.
|
|
#
|
|
# 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.
|
|
#
|
|
# == define: tripleo::profile::base::neutron::wrappers::radvd
|
|
#
|
|
# Generates wrapper script for running radvd in a container.
|
|
#
|
|
# === Parameters
|
|
#
|
|
# [*radvd_process_wrapper*]
|
|
# Filename for radvd wrapper script.
|
|
#
|
|
# [*radvd_image*]
|
|
# Docker image name for radvd.
|
|
#
|
|
# [*bind_socket*]
|
|
# Socket for accessing the docker daemon.
|
|
#
|
|
# [*debug*]
|
|
# Enable debug messages for the wrapper script.
|
|
#
|
|
# [*container_cli*]
|
|
# Host containers runtime system to use.
|
|
|
|
#
|
|
define tripleo::profile::base::neutron::wrappers::radvd (
|
|
$radvd_process_wrapper,
|
|
$radvd_image,
|
|
Boolean $debug,
|
|
$container_cli,
|
|
$bind_socket = undef,
|
|
) {
|
|
file { $radvd_process_wrapper:
|
|
ensure => file,
|
|
mode => '0755',
|
|
content => epp('tripleo/neutron/radvd.epp', {
|
|
'image_name' => $radvd_image,
|
|
'bind_socket' => $bind_socket,
|
|
'debug' => $debug,
|
|
'container_cli' => $container_cli,
|
|
})
|
|
}
|
|
}
|