Revision b07a6922 lib/mcpu.py
b/lib/mcpu.py | ||
---|---|---|
264 | 264 |
|
265 | 265 |
This is the main function of the HookMaster. |
266 | 266 |
|
267 |
Args: |
|
268 |
phase: the hooks phase to run |
|
269 |
|
|
270 |
Returns: |
|
271 |
the result of the hooks multi-node rpc call |
|
272 |
|
|
267 | 273 |
""" |
268 | 274 |
if not self.node_list[phase]: |
269 | 275 |
# empty node list, we should not attempt to run this as either |
... | ... | |
287 | 293 |
errs.append((node_name, script, output)) |
288 | 294 |
if errs: |
289 | 295 |
raise errors.HooksAbort(errs) |
296 |
return results |
|
290 | 297 |
|
291 | 298 |
def RunConfigUpdate(self): |
292 | 299 |
"""Run the special configuration update hook |
Also available in: Unified diff