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):
|
def __getstate__(self):
|
||||||
return {'path': self.path,
|
return {'path': self.path,
|
||||||
'data': self.data}
|
'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
|
server = manager.rpc_server
|
||||||
|
|
||||||
# Everything has been set up, begin the bootstrapping process
|
# Everything has been set up, begin the bootstrapping process
|
||||||
ret = server.run(manifest,
|
server.run(manifest,
|
||||||
debug=opts['--debug'],
|
debug=opts['--debug'],
|
||||||
pause_on_error=False,
|
pause_on_error=False,
|
||||||
dry_run=opts['--dry-run'])
|
dry_run=opts['--dry-run'])
|
||||||
logging.getLogger(__name__).info(ret)
|
|
||||||
finally:
|
finally:
|
||||||
manager.stop()
|
manager.stop()
|
||||||
|
|
||||||
|
|
|
@ -21,6 +21,8 @@ class TaskList(object):
|
||||||
:param dict info: The bootstrap information object
|
:param dict info: The bootstrap information object
|
||||||
:param bool dry_run: Whether to actually run the tasks or simply step through them
|
: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
|
# Create a list for us to run
|
||||||
task_list = create_list(self.tasks)
|
task_list = create_list(self.tasks)
|
||||||
# Output the tasklist
|
# Output the tasklist
|
||||||
|
|
Loading…
Add table
Reference in a new issue