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
990 B
Puppet
33 lines
990 B
Puppet
#
|
|
# Copyright (C) 2014 Nine Internet Solutions
|
|
#
|
|
# 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: David Gurtner <aldavud@crimson.ch>
|
|
#
|
|
# == Class: ceph::keys
|
|
#
|
|
# Class wrapper for the benefit of scenario_node_terminus
|
|
#
|
|
# === Parameters:
|
|
#
|
|
# [*args*] A Ceph keys config hash
|
|
# Optional.
|
|
#
|
|
# [*defaults*] A keys config hash
|
|
# Optional. Defaults to a empty hash.
|
|
#
|
|
class ceph::keys($args = {}, $defaults = {}) {
|
|
create_resources(ceph::key, $args, $defaults)
|
|
}
|