Puppet Class: corosync::reprobe
- Defined in:
- manifests/reprobe.pp
Summary
Triggers re-probe for changes any of the native cs_* types.Overview
Include this class to reprobe the corosync cluster when there are changes in any of the native cs_* types. Useful for multi-node provisioning when the nodes are not always in a stable state after provisioning.
Copyright 2012 Puppet Labs, LLC.
13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 |
# File 'manifests/reprobe.pp', line 13
class corosync::reprobe {
exec { 'crm resource reprobe':
path => ['/bin','/usr/bin','/sbin','/usr/sbin'],
refreshonly => true,
}
Cs_primitive <| |> {
notify => Exec['crm resource reprobe'],
}
Cs_colocation <| |> {
notify => Exec['crm resource reprobe'],
}
Cs_order <| |> {
notify => Exec['crm resource reprobe'],
}
Cs_group <| |> {
notify => Exec['crm resource reprobe'],
}
Cs_commit <| |> {
notify => Exec['crm resource reprobe'],
}
}
|