Puppet Class: profile::cephadm::target
- Defined in:
- modules/profile/manifests/cephadm/target.pp
Overview
SPDX-License-Identifier: Apache-2.0 Class: profile::cephadm::target
This profile provides the necessary setup for a node to be controlled by cephadm.
6 7 8 9 10 11 12 13 14 15 16 |
# File 'modules/profile/manifests/cephadm/target.pp', line 6
class profile::cephadm::target(
Cephadm::Clusters $cephadm_clusters = lookup('cephadm_clusters'),
String $cephadm_cluster_label = lookup('profile::cephadm::cluster_label'),
) {
$controller = $cephadm_clusters[$cephadm_cluster_label]['controller']
class { 'cephadm::target':
cephadm_controller => $controller,
}
}
|