VirtualDomain: New resource attribute "start_scripts"#857
VirtualDomain: New resource attribute "start_scripts"#857berlevdv wants to merge 1 commit intoClusterLabs:mainfrom
Conversation
|
Why not create a separate resource for your start script (using the No need to add the "start_scripts" parameter to VirtualDomain. |
|
I thought that once used the "monitor scripts", which functionality can be used by "anything" resource agent, it would be a good idea here is to implement the "start scripts". In addition it will prevent "excess" resources, their setting and specify same configuration file path at different resources. |
|
The API for Either way, the difference should be documented in the |
|
Hi, Krig! Yes, start script section of VirtualDomain_start() function pass $DOMAIN_NAME variable as parameter to script for domain identification and further usage. With this option there is no need to manually specify the domain name (which may change in the future) when defining the VirtualDomain resource, such as in monitor_scripts. I will add describe of this option in the longdesc for start_scripts. Thanks! |
|
Alright, looks good to me now. |
|
Could you collapse the commits into a single commit with a commit title like ? To do this, check out your branch ( Then once it looks good, |
Create new resource attribute "start_scripts" for control domain start via scripts.