summaryrefslogtreecommitdiff
path: root/units
diff options
authorPMR <pmr@pmr-lander>2018-02-05 16:00:37 +0000
committerPMR <pmr@pmr-lander>2018-02-05 16:00:37 +0000
commitb72a61d4cb498e383211d30308fdb816979405de (patch)
treea8c1eac4dcf83bbf248bad40f8068f72dd395bf3 /units
parent5c6fb8216cc8e96304ef16463bbd533d97c7b0aa (diff)
parent7a154fcb47bd29d93a410ecede79acb20c67c624 (diff)
Merge #337168 from ~sylvain-pineau/plainbox-provider-checkbox:fix-1695912
Diffstat (limited to 'units')
-rw-r--r--units/submission/jobs.pxu12
1 files changed, 6 insertions, 6 deletions
diff --git a/units/submission/jobs.pxu b/units/submission/jobs.pxu
index a21c897..1565409 100644
--- a/units/submission/jobs.pxu
+++ b/units/submission/jobs.pxu
@@ -5,7 +5,7 @@ requires:
package.name == 'dkms'
command:
dkms_info --format json | python3 -m plainbox dev parse dkms-info | \
- jq --indent 4 '.dkms_info'
+ jq '.dkms_info'
_description: Attaches json dumps of installed dkms package information.
_summary: Attaches json dumps of installed dkms package information.
@@ -24,9 +24,9 @@ requires:
user: root
command:
dmidecode -t bios -t system | python3 -m plainbox dev parse dmidecode | \
- jq --indent 4 '[.[0]."_attributes" +
- {"category": .[0]."category"}, .[1]."_attributes" +
- {"category": .[1]."category"}]'
+ jq '[.[0]."_attributes" +
+ {"category": .[0]."category"}, .[1]."_attributes" +
+ {"category": .[1]."category"}]'
estimated_duration: 1
_description: Attaches dmidecode output
_summary: Attaches json dumps of udev_resource raw dmi devices
@@ -36,7 +36,7 @@ plugin: attachment
category_id: com.canonical.plainbox::info
command:
find /etc/modprobe.* -name \*.conf | xargs cat | python3 -m plainbox dev parse modprobe |
- jq --indent 4 'to_entries | map({"module": .key, "options": .value})'
+ jq 'to_entries | map({"module": .key, "options": .value})'
estimated_duration: 0.015
_description: Attaches the contents of the various modprobe conf files.
_summary: Attach the contents of /etc/modprobe.*
@@ -47,7 +47,7 @@ plugin: attachment
category_id: com.canonical.plainbox::info
command:
lspci -x | python3 -m plainbox dev parse pci-subsys-id | \
- jq --indent 4 '.pci_subsystem_id'
+ jq '.pci_subsystem_id'
estimated_duration: 0.1
_description: Attaches a hex dump of the standard part of the PCI configuration
space for all PCI devices.