diff --git a/manifests/spof.pp b/manifests/spof.pp index 314166e0..2b7f7654 100644 --- a/manifests/spof.pp +++ b/manifests/spof.pp @@ -36,7 +36,8 @@ class cloud::spof( $cluster_ip = '127.0.0.1', $cluster_members = false, - $multicast_address = '239.1.1.2' + $multicast_address = '239.1.1.2', + $cluster_password = 'secrete' ) { if $::operatingsystem == 'RedHat' { @@ -44,6 +45,10 @@ class cloud::spof( fail('cluster_members is a required parameter.') } + class { 'pacemaker': + hacluster_pwd => $cluster_password + } + class { 'pacemaker::corosync': cluster_name => 'openstack_cluster', cluster_members => $cluster_members