Files
puppet-pacemaker/manifests/install.pp
Sofer Athlan-Guyot 399b1fb04e Fixes for lint compliance and working specs.
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
2016-02-19 12:30:22 +01:00

44 lines
1.1 KiB
Puppet

# == Class: pacemaker::install
#
# Installs needed packages for pacemaker
#
# === Parameters:
#
# [*ensure*]
# (optional) Whether to make sure packages are present or absent
# Defaults to present
#
# === Dependencies
#
# None
#
# === Authors
#
# 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::install (
$ensure = present,
) {
include ::pacemaker::params
package { $::pacemaker::params::package_list:
ensure => $ensure,
}
}