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 | 2b16ad8210e88ed41418cf757d347b18033276c6 (patch) | |
tree | 05684b3fb1b17535da0cdf1723108e50b0a7a09d /units | |
parent | b0ce7f0f485a987a54fdb974f6b3594feaf54a53 (diff) |
added a constraint so ipmctl jobs only run on 18.04 or later
Diffstat (limited to 'units')
-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 9e68719..68cd9db 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 |