Changeset 29 for trunk/options.py

Show
Ignore:
Timestamp:
27/11/07 17:40:17 (4 years ago)
Author:
daedalus
Message:

* Manual bailout when in authoritarian mode now works correctly.
* Fixed up some of the log level and stats reporting.
* Added 'backout' mode, that will only run the backout portion of changes. More

useful for testing, but can also be used to undo provisioning by repurposing
the same set of templates used for provisioning.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/options.py

    r27 r29  
    7979        help_configfile = "The configuration file to load" 
    8080        help_loadonly = "Load the configuration file and exit. Used to test parsing." 
    81          
     81        help_backout = "Run the backout portion of the changes." 
    8282 
    8383        self.add_option('-a', '--authoritarian',  dest='authoritarian', action='store_true', default=False, help=help_authoritarian)         
     84        self.add_option('-b', '--backout',  dest='backout', action='store_true', default=False, help=help_backout)         
    8485        self.add_option('-c', '--configfile', dest='configfile', type='string', help=help_configfile) 
    8586        self.add_option('', '--loadonly', dest='loadonly', action='store_true', default=False, help=help_loadonly)