Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Heartbeat configuration through puppet
Puppet
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
manifests
templates
README

README

= heartbeat puppet module =

Manages heartbeat cluster configuration.

Requires: [puppet-common](https://github.com/camptocamp/puppet-common)

== Definitions ==

  * heartbeat

=== heartbeat ===

All parameters have defaults, shown below except for owned_resources,
whose default is an empty list. Note that a resource should be owned
by only one host in the cluster, though different hosts may own
different resources.

Note that peerip will only be used in the ha.cf template, which,
presently, does not require it.

heartbeat { 'clustername':
  onwed_resources = [ '127.0.0.2', 'http' ],
  key = 'clustername', # ignored if auth_method is crc
  configuration = '', # content of ha.cf -- uses module template by default
  iface = 'eth0',
  peerip = '', # Peer IP to be used in unicast configurations
  auth_method = 'sha1', # or crc, md5
  ensure = present, # or absent
}
Something went wrong with that request. Please try again.