Hotfix: Add pcs utility, add ordering for crmsh package
Change-Id: I15a6dd784282383e605a57049f94820972e5d03b
This commit is contained in:
parent
35299a0aa5
commit
157197ab6b
@ -115,21 +115,22 @@ class corosync (
|
||||
}
|
||||
}
|
||||
if $::operatingsystem == 'Ubuntu' {
|
||||
file { "/etc/init/corosync.override":
|
||||
replace => "no",
|
||||
ensure => "present",
|
||||
content => "manual",
|
||||
mode => '0644',
|
||||
before => Package[corosync],
|
||||
}
|
||||
file { "/etc/init/corosync.override":
|
||||
replace => "no",
|
||||
ensure => "present",
|
||||
content => "manual",
|
||||
mode => '0644',
|
||||
before => Package[corosync],
|
||||
}
|
||||
package {'python-pcs': ensure => present} ->
|
||||
Package['pacemaker']
|
||||
} else {
|
||||
package {'pcs': ensure => present} ->
|
||||
package {'crmsh': ensure => present} ->
|
||||
Package['pacemaker']
|
||||
}
|
||||
package { ['corosync', 'pacemaker']: ensure => present }
|
||||
|
||||
if $::osfamily == "RedHat"
|
||||
{
|
||||
package {'crmsh': ensure => present}
|
||||
}
|
||||
|
||||
# Template uses:
|
||||
# - $unicast_addresses
|
||||
# - $multicast_address
|
||||
|
Loading…
Reference in New Issue
Block a user