version: 2.2
category: Script
longdesc: >-
  Configure a resource for managing an LVM volume group.

  Does not create the referenced volume group.

include:
  - agent: ocf:heartbeat:LVM
    name: lvm
    parameters:
      - name: id
        required: true
        value: lvm
        type: resource
      - name: volgrpname
        required: true
        type: string
    ops: |
      op monitor interval=130s timeout=130s
      op stop timeout=130s on_fail=fence
