Wait for virtual ip to start
This fix makes puppet wait for virtual ip start after corresponding ping location is added Change-Id: I7b6cb2ea7caad31ffaf690f4b5ffb72262a96815 Closes-bug: #1455910
This commit is contained in:
parent
5fd379f0cd
commit
855e1a16c9
@ -23,6 +23,12 @@ define cluster::virtual_ip_ping (
|
|||||||
complex_type => 'clone',
|
complex_type => 'clone',
|
||||||
}
|
}
|
||||||
|
|
||||||
|
service { "${vip_name}":
|
||||||
|
ensure => 'running',
|
||||||
|
enable => true,
|
||||||
|
provider => 'pacemaker'
|
||||||
|
}
|
||||||
|
|
||||||
service { "ping_${vip_name}":
|
service { "ping_${vip_name}":
|
||||||
ensure => 'running',
|
ensure => 'running',
|
||||||
enable => true,
|
enable => true,
|
||||||
@ -52,8 +58,8 @@ define cluster::virtual_ip_ping (
|
|||||||
],
|
],
|
||||||
}
|
}
|
||||||
|
|
||||||
Service<| title == $vip_name |> ->
|
|
||||||
Cs_resource["ping_${vip_name}"] ->
|
Cs_resource["ping_${vip_name}"] ->
|
||||||
Cs_rsc_location["loc_ping_${vip_name}"] ->
|
Cs_rsc_location["loc_ping_${vip_name}"] ->
|
||||||
Service["ping_${vip_name}"]
|
Service["ping_${vip_name}"] ->
|
||||||
|
Service <| title == "${vip_name}" |>
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user