Merge branch '2.4.1/12701-protection_esclave_obligatoire'
This commit is contained in:
commit
d109022282
@ -70,20 +70,26 @@
|
||||
</variable>
|
||||
</family>
|
||||
<family name='Hooks'>
|
||||
<variable name='hapy_vm_hook' type='string' description="Nom du hook de VM" multi='True' mode='expert'/>
|
||||
<variable name='hapy_vm_hook_on' type='string' description="Déclancheur (on)" mode='expert'/>
|
||||
<variable name='hapy_vm_hook_command' type='string' description="Script a déclancher (command)" mode='expert'/>
|
||||
<variable name='hapy_vm_hook_arguments' type='string' description="Arguments a passer au script (arguments)" mode='expert'/>
|
||||
<variable name='hapy_vm_hook_remote' type='oui/non' description="Exécuter sur les noeuds (remote)" mode='expert'>
|
||||
<variable name='hapy_vm_hooks' type='oui/non' description="Hooks sur les VM" mode='expert' mandatory='True'>
|
||||
<value>non</value>
|
||||
</variable>
|
||||
<variable name='hapy_vm_hook_state' type='string' description="Etat attendus en déclancheur 'custom' (STATE)" mode='expert'/>
|
||||
<variable name='hapy_vm_hook_lcm_state' type='string' description="Etat 'lcm' attendus en déclancheur 'custom' (LCM_STATE)" mode='expert'/>
|
||||
<variable name='hapy_vm_hook' type='string' description="Nom du hook de VM" multi='True' mode='expert'/>
|
||||
<variable name='hapy_vm_hook_on' type='string' description="Déclencheur (on)" mode='expert'/>
|
||||
<variable name='hapy_vm_hook_command' type='string' description="Script à déclencher (command)" mode='expert'/>
|
||||
<variable name='hapy_vm_hook_arguments' type='string' description="Arguments à passer au script (arguments)" mode='expert'/>
|
||||
<variable name='hapy_vm_hook_remote' type='oui/non' description="Exécuter sur les nœuds (remote)" mode='expert'>
|
||||
<value>non</value>
|
||||
</variable>
|
||||
<variable name='hapy_vm_hook_state' type='string' description="État attendu en déclencheur 'custom' (STATE)" mode='expert'/>
|
||||
<variable name='hapy_vm_hook_lcm_state' type='string' description="État 'lcm' attendu en déclencheur 'custom' (LCM_STATE)" mode='expert'/>
|
||||
|
||||
<variable name='hapy_user_hooks' type='oui/non' description="Hooks sur les utilisateurs" mode='expert' mandatory='True'>
|
||||
<value>non</value>
|
||||
</variable>
|
||||
<variable name='hapy_user_hook' type='string' description="Nom du hook d' utilisateur" multi='True' mode='expert'/>
|
||||
<variable name='hapy_user_hook_on' type='string' description="Déclancheur (on)" mode='expert'/>
|
||||
<variable name='hapy_user_hook_command' type='string' description="Script a déclancher (command)" mode='expert'/>
|
||||
<variable name='hapy_user_hook_arguments' type='string' description="Arguments a passer au script (arguments)" mode='expert'/>
|
||||
<variable name='hapy_user_hook_on' type='string' description="Déclencheur (on)" mode='expert' mandatory='True'/>
|
||||
<variable name='hapy_user_hook_command' type='string' description="Script à déclencher (command)" mode='expert' mandatory='True'/>
|
||||
<variable name='hapy_user_hook_arguments' type='string' description="Arguments à passer au script (arguments)" mode='expert'/>
|
||||
</family>
|
||||
</variables>
|
||||
|
||||
@ -187,6 +193,10 @@
|
||||
<param>['CREATE','RUNNING','SHUTDOWN','STOP','DONE','UNKNOWN','FAILED','CUSTOM']</param>
|
||||
</check>
|
||||
|
||||
<condition name='disabled_if_in' source='hapy_vm_hooks'>
|
||||
<param>non</param>
|
||||
<target type='variable'>hapy_vm_hook</target>
|
||||
</condition>
|
||||
<group master='hapy_vm_hook'>
|
||||
<slave>hapy_vm_hook_on</slave>
|
||||
<slave>hapy_vm_hook_command</slave>
|
||||
@ -200,6 +210,10 @@
|
||||
<param>['CREATE','REMOVE']</param>
|
||||
</check>
|
||||
|
||||
<condition name='disabled_if_in' source='hapy_user_hooks'>
|
||||
<param>non</param>
|
||||
<target type='variable'>hapy_user_hook</target>
|
||||
</condition>
|
||||
<group master='hapy_user_hook'>
|
||||
<slave>hapy_user_hook_on</slave>
|
||||
<slave>hapy_user_hook_command</slave>
|
||||
|
Loading…
Reference in New Issue
Block a user