diff options
author | Jeff Lane <jeffrey.lane@canonical.com> | 2020-03-04 06:07:22 -0500 |
---|---|---|
committer | Jeff Lane <jeffrey.lane@canonical.com> | 2020-03-04 06:07:22 -0500 |
commit | 4b7e774c54cb74b7fdcfab8d15e5d6af470ce7ff (patch) | |
tree | a672475608fe78fff4dd27211bbdbe47c6692064 /units/nvdimm | |
parent | b843ed4c87e2325880d81230a16ac908efcab9f1 (diff) |
added a constraint so ipmctl jobs only run on 18.04 or later
Diffstat (limited to 'units/nvdimm')
-rw-r--r-- | units/nvdimm/jobs.pxu | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/units/nvdimm/jobs.pxu b/units/nvdimm/jobs.pxu index 9e68719a..68cd9db4 100644 --- a/units/nvdimm/jobs.pxu +++ b/units/nvdimm/jobs.pxu @@ -3,7 +3,9 @@ category_id: com.canonical.plainbox::nvdimm id: nvdimm/info estimated_duration: 1.0 user: root -requires: executable.name == "ipmctl" +requires: + executable.name == "ipmctl" + lsb.release >= "18.04" command: ipmctl show -dimm _summary: Verify that NVDIMMs are discovered @@ -15,7 +17,9 @@ category_id: com.canonical.plainbox::nvdimm id: nvdimm/health estimated_duration: 1.0 user: root -requires: executable.name == "ipmctl" +requires: + executable.name == "ipmctl" + lsb.release >= "18.04" command: ipmctl show -d CurrentValue,CurrentState -sensor Health _summary: Report health state of installed NVDIMM devices |