mirror of
https://github.com/kevingruesser/bootstrap-vz.git
synced 2025-08-24 15:36:27 +00:00
debugging
This commit is contained in:
parent
569e1246a5
commit
282e22c001
3 changed files with 6 additions and 12 deletions
|
@ -135,10 +135,3 @@ class Manifest(object):
|
|||
def __getstate__(self):
|
||||
return {'path': self.path,
|
||||
'data': self.data}
|
||||
|
||||
def __setstate__(self, vals):
|
||||
self.path = vals.path
|
||||
self.load(vals.data)
|
||||
self.initialize()
|
||||
self.validate()
|
||||
self.parse()
|
||||
|
|
|
@ -34,11 +34,10 @@ def main():
|
|||
server = manager.rpc_server
|
||||
|
||||
# Everything has been set up, begin the bootstrapping process
|
||||
ret = server.run(manifest,
|
||||
debug=opts['--debug'],
|
||||
pause_on_error=False,
|
||||
dry_run=opts['--dry-run'])
|
||||
logging.getLogger(__name__).info(ret)
|
||||
server.run(manifest,
|
||||
debug=opts['--debug'],
|
||||
pause_on_error=False,
|
||||
dry_run=opts['--dry-run'])
|
||||
finally:
|
||||
manager.stop()
|
||||
|
||||
|
|
|
@ -21,6 +21,8 @@ class TaskList(object):
|
|||
:param dict info: The bootstrap information object
|
||||
:param bool dry_run: Whether to actually run the tasks or simply step through them
|
||||
"""
|
||||
logging.getLogger(__name__).debug('test')
|
||||
return
|
||||
# Create a list for us to run
|
||||
task_list = create_list(self.tasks)
|
||||
# Output the tasklist
|
||||
|
|
Loading…
Add table
Reference in a new issue