onceover icon indicating copy to clipboard operation
onceover copied to clipboard

Expose factset during a run

Open dylanratcliffe opened this issue 5 years ago • 1 comments

While we are running onceover with the default formatter we just get a bunch of P and F output and if things are failing we can't get any advance war ing of which factset it's failing on. If we could change the output to be more of a grid and less of a list that would be really cool and helpful e.g.

Factsets
A=spec/factsets/Amazon-2018.03_agent_NonProduction.json
B=spec/factsets/Amazon-2018.03_agent_Production.json
C=spec/factsets/Centos-7.0-64_agent_NonProduction.json
D=spec/factsets/Centos-7.0-64_agent_Production.json
E=spec/factsets/RHEL-6.7_agent_NonProduction.json
F=spec/factsets/RHEL-6.7_agent_Production.json
G=spec/factsets/RHEL-7.4_agent_NonProduction.json
H=spec/factsets/RHEL-7.4_agent_Production.json

                                    A B C D E F G H
profile::linux::at:                 P P P   P P P P 
profile::linux::cron:               P P   P P P   P 
profile::linux::datadog:            P P P P P P P P 
profile::linux::ipv6_disable:       P         P P P 
profile::linux::mount:              P P
profile::linux::proxy:                            P 
profile::linux::qualys:             P P P   F   P P 
profile::linux::selinux:              P P P P   P P 

I'm not totally married to that exact output but you get the idea.

Original idea suggested by @GeoffWilliams in #231

dylanratcliffe avatar Jun 11 '19 12:06 dylanratcliffe

I think that's along the right lines - maybe print - where there were no tests instead of space/tab though?

                                    A B C D E F G H
profile::linux::at:                 P P P - P P P P 
profile::linux::cron:               P P - P P P - P 
profile::linux::datadog:            P P P P P P P P 
profile::linux::ipv6_disable:       P - - - - P P P 
profile::linux::mount:              P P - - - - - -
profile::linux::proxy:              - - - - - - - P 
profile::linux::qualys:             P P P - F - P P 
profile::linux::selinux:            - P P P P - P P 

GeoffWilliams avatar Jun 11 '19 16:06 GeoffWilliams