Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Paste
P8178
(An Untitled Masterwork)
Active
Public
Actions
Authored by
jbond
on Mar 11 2019, 5:17 PM.
Edit Paste
Archive Paste
View Raw File
Subscribe
Mute Notifications
Award Token
Flag For Later
Tags
None
Referenced Files
F28368418: raw.txt
Mar 11 2019, 5:17 PM
2019-03-11 17:17:52 (UTC+0)
Subscribers
None
--- a/cookbooks/sre/hosts/ipmi-password-reset.py
+++ b/cookbooks/sre/hosts/ipmi-password-reset.py
@@ -37,11 +37,14 @@ def argument_parser():
def run(args, spicerack):
"""Required by Spicerack API."""
- ensure_shell_is_durable()
+ try:
+ ensure_shell_is_durable()
+ except spicerack.exceptions.SpicerackError as error:
+ logger.error(error)
+ raise SystemExit(99)
Event Timeline
jbond
created this paste.
Mar 11 2019, 5:17 PM
2019-03-11 17:17:51 (UTC+0)
Log In to Comment