blob: 4f1a809df3478ff478361efdf5d0c2779d1b5110 [file] [log] [blame]
Alex Savatieievc9055712019-03-01 14:43:56 -06001import checker
2
3from cfg_checker.helpers import args_utils
4
5
6def do_report(args):
7 """Create package versions report
8
9 :args: - parser arguments
10 :return: - no return value
11 """
12 _filename = args_utils.get_file_arg(args)
13
14 # init connection to salt and collect minion data
15 pChecker = checker.CloudPackageChecker()
16 # collect data on installed packages
17 pChecker.collect_installed_packages()
18 # diff installed and candidates
19 # pChecker.collect_packages()
20 # report it
21 pChecker.create_html_report(_filename)