Add license headers and docs for parameters
Change-Id: Id574e79d21239d4a6f3954d101f0cced66dd4073 Signed-off-by: Bogdan Dobrelya <bdobrelia@mirantis.com>
This commit is contained in:
parent
fe5a1a828e
commit
1e21a2251a
|
@ -1,6 +1,38 @@
|
||||||
|
# Copyright 2013 Mirantis, 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: pcs_fencing::fencing
|
# == Define: pcs_fencing::fencing
|
||||||
#
|
#
|
||||||
# Configure STONITH resources for corosync/pacemaker.
|
# Configure STONITH resources for Pacemaker.
|
||||||
|
#
|
||||||
|
# === Parameters:
|
||||||
|
#
|
||||||
|
# [*agent_type*]
|
||||||
|
# The fence agent name for a STONITH resource
|
||||||
|
# Defaults to undef
|
||||||
|
#
|
||||||
|
# [*parameters*]
|
||||||
|
# The hash of parameters for a STONITH resource
|
||||||
|
# Defaults to False
|
||||||
|
#
|
||||||
|
# [*operations*]
|
||||||
|
# The hash of operations for a STONITH resource
|
||||||
|
# Defaults to False
|
||||||
|
#
|
||||||
|
# [*meta*]
|
||||||
|
# The hash of metadata for a STONITH resource
|
||||||
|
# Defaults to False
|
||||||
#
|
#
|
||||||
define pcs_fencing::fencing (
|
define pcs_fencing::fencing (
|
||||||
$agent_type,
|
$agent_type,
|
||||||
|
|
|
@ -1,5 +1,35 @@
|
||||||
# Creates fencing primitives and topology for given nodes.
|
# Copyright 2013 Mirantis, Inc.
|
||||||
# Assumes all nodes have the same OS installed
|
#
|
||||||
|
# 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.
|
||||||
|
#
|
||||||
|
# == Class: pcs_fencing::fencing_primitives
|
||||||
|
#
|
||||||
|
# Creates Pacemaker fencing primitives and topology for given nodes.
|
||||||
|
# Assumes all nodes have the same OS installed.
|
||||||
|
#
|
||||||
|
# === Parameters:
|
||||||
|
#
|
||||||
|
# [*fence_primitives*]
|
||||||
|
# The hash of parameters for STONITH resources in Pacemaker
|
||||||
|
# Defaults to undef
|
||||||
|
#
|
||||||
|
# [*fence_topology*]
|
||||||
|
# The hash of parameters for a fencing topology in Pacemaker
|
||||||
|
# Defaults to undef
|
||||||
|
#
|
||||||
|
# [*node*]
|
||||||
|
# The array of node names in Pacemaker cluster
|
||||||
|
# Defaults to undef
|
||||||
#
|
#
|
||||||
class pcs_fencing::fencing_primitives (
|
class pcs_fencing::fencing_primitives (
|
||||||
$fence_primitives,
|
$fence_primitives,
|
||||||
|
|
Loading…
Reference in New Issue