0d7fb17102
By making args optional we can include it in the manifest and provide args from hieradata. Otherwise we're forced to pass a value from args from the manifests. Change-Id: I3932026dc6b21f57a9175239a2afe1cdcab611bb
33 lines
1000 B
Puppet
33 lines
1000 B
Puppet
#
|
|
# Copyright (C) 2013 Cloudwatt <libre.licensing@cloudwatt.com>
|
|
#
|
|
# 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.
|
|
#
|
|
# Author: Loic Dachary <loic@dachary.org>
|
|
#
|
|
# == Class: ceph::mons
|
|
#
|
|
# Class wrapper for the benefit of scenario_node_terminus
|
|
#
|
|
# === Parameters:
|
|
#
|
|
# [*args*] A Ceph mons config hash
|
|
# Optional.
|
|
#
|
|
# [*defaults*] A config hash
|
|
# Optional. Defaults to a empty hash
|
|
#
|
|
class ceph::mons($args = {}, $defaults = {}) {
|
|
create_resources(ceph::mon, $args, $defaults)
|
|
}
|