leeej84 / -DEPRECATED---PowerScale

Replacement for Citrix SmartScale
GNU General Public License v3.0
16 stars 11 forks source link

added a shutdown delay #29

Closed gahujipo closed 3 years ago

gahujipo commented 3 years ago

we'd need to delay the shutdown of our machines for a few minutes. I've seen that there is already prepared some code for that. I added a config file property and added the variable to the call for brokerAction function call.

brokerAction already considers -delay $null as not delayed. Therefore the default value of delayShutdown is $null

Please have a look at my changes and consider merging it. Thank you.

leeej84 commented 3 years ago

I've taken a look at it all looks good. I have some changes in flight right now so will merge this in with those.