~hopem/maas-deployer/lp1478015

« back to all changes in this revision

Viewing changes to maas_deployer/cli.py

  • Committer: Edward Hope-Morley
  • Date: 2015-08-11 08:55:09 UTC
  • mto: This revision was merged to the branch mainline in revision 10.
  • Revision ID: edward.hope-morley@canonical.com-20150811085509-vhns0yh32ggmrond
[hopem,r=]

First pass at preparing source for debian packaging.

Show diffs side-by-side

added added

removed removed

Lines of Context:
22
22
log.addHandler(handler)
23
23
 
24
24
 
25
 
from vmaas.engine import DeploymentEngine
26
 
from vmaas.util import CONF as cfg
27
 
 
28
 
 
29
 
if __name__ == '__main__':
 
25
from maas_deployer.vmaas.engine import DeploymentEngine
 
26
from maas_deployer.vmaas.util import CONF as cfg
 
27
 
 
28
 
 
29
def main():
30
30
    cfg.parser.add_argument('-c', '--config', type=str,
31
31
                            default='deployment.yaml', required=False)
32
32
    cfg.parser.add_argument('-d', '--debug', action='store_true',
89
89
        raise
90
90
    else:
91
91
        log.info("MAAS deployment completed.")
 
92
 
 
93
 
 
94
if __name__ == '__main__':
 
95
    main()