
This fixes agent generator to have the generated files passing lint test. It also adds a rake task. The stonith/ files were generated using it. fence_xvm is documented to be updated manually in the variable.sh file. It will need to be investigated, and if possible refactored to be able to work with the generator for simpler updates. Co-Authored-By: Jason Guiditta <jguiditt@redhat.com> Change-Id: I246eee81de6e8148f4f8c01e6deb42b20775079a
56 lines
1.4 KiB
Puppet
56 lines
1.4 KiB
Puppet
# == Class: pacemaker
|
|
#
|
|
# base class for pacemaker
|
|
#
|
|
# === Parameters
|
|
#
|
|
# [*pacemaker::params::hacluster_pwd*]
|
|
# String, used as the default for the pacemaker hacluster_pwd variable
|
|
# Default: CHANGEME
|
|
#
|
|
# === Variables
|
|
#
|
|
# [*hacluster_pwd*]
|
|
# used to set the password for the hacluster user on the nodes
|
|
# this user will be used in future pacemaker releases for pcsd to
|
|
# communicate between nodes.
|
|
# Default: $pacemaker::params::hacluster_pwd
|
|
#
|
|
# === Dependencies
|
|
#
|
|
# None
|
|
#
|
|
# === Examples
|
|
#
|
|
# see pacemaker::corosync
|
|
#
|
|
# === Authors
|
|
#
|
|
# Dan Radez <dradez@redhat.com>
|
|
# Crag Wolfe <cwolfe@redhat.com>
|
|
# Jason Guiditta <jguiditt@redhat.com>
|
|
#
|
|
# === Copyright
|
|
#
|
|
# Copyright (C) 2016 Red Hat 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.
|
|
#
|
|
class pacemaker(
|
|
$hacluster_pwd = $pacemaker::params::hacluster_pwd
|
|
) inherits ::pacemaker::params {
|
|
include ::pacemaker::params
|
|
include ::pacemaker::install
|
|
include ::pacemaker::service
|
|
}
|