
This commit introduces the client_keys hash parameter to ceph::profile. This allows one to use the profile to inject and configure any client keys with any parameter. Backwards compatibility is *NOT* maintained for the purpose of staying as clean and as simple as possible in the context of drafting the first stable release of puppet-ceph. This avoids shipping the first stable release with, already, a deprecation that will have to be maintained throughout an entire release cycle. Some tests have been added and test coverage is in general improved as part of this commit. Change-Id: Ie6adbd601388ab52c37037004bd0ceef9fc41942
30 lines
907 B
Puppet
30 lines
907 B
Puppet
#
|
|
# Copyright (C) 2014 Nine Internet Solutions AG
|
|
#
|
|
# 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>
|
|
# Author: David Moreau Simard <dmsimard@iweb.com>
|
|
#
|
|
# Class: ceph::profle::osd
|
|
#
|
|
# Profile for a Ceph osd
|
|
#
|
|
class ceph::profile::osd {
|
|
require ::ceph::profile::client
|
|
|
|
class { '::ceph::osds':
|
|
args => $ceph::profile::params::osds,
|
|
}
|
|
}
|