The imp module is deprecated[1] since version 3.4, use importlib to
instead
[1]: https://docs.python.org/3/library/imp.html
Change-Id: I10f2c8c165aebddc8fd39601a0a23231ff89cdf7
* set the maximum line length to 100
* cleaned up the codes for pep8
Depends-On: https://review.openstack.org/560844
Change-Id: Id548b78b673cce869ef8291bdb6b4f1367b383ed
Signed-off-by: Jui Chandwaskar <jchandwaskar@op5.com>
Use user that monasca-agent run as for creating
plugins configuration files as well as agent.yaml
instead of 'root' user.
Change-Id: I34691607a983b5b84a825f2ba2a6ce595a8d2c4d
The ability to remove config is useful when calling monasca-setup via
Ansible.
Various refactoring for the main method to make things cleaner.
Fixed overwrite.
Change-Id: I37805e3ef68d794f7cba8fc40e7156e67118b556