This file is indexed.

/usr/share/crmsh/scripts/clvm-vg/main.yml is in crmsh 2.3.2-4.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
# Copyright (C) 2015 Kristoffer Gronlund
#
# License: GNU General Public License (GPL)
version: 2.2
category: File System
shortdesc: Cluster-aware LVM (Volume Group)
longdesc: |
  Configures an cLVM volume group instance. Once created,
  this resource is added to the cLVM group resource.

  The cLVM group resource is assumed to be named g-clvm. This
  is the name of the resource created by the clvm wizard.

parameters:
  - name: id
    shortdesc: Volume group instance ID
    longdesc: Unique ID for the volume group instance in the cluster.
    required: true
    unique: true
    type: resource
    value: vg1

  - name: volgrpname
    shortdesc: Volume Group Name
    longdesc: LVM volume group name.
    required: true
    type: string
    value: vg1

  - name: clvm-group
    shortdesc: cLVM Resource Group ID
    longdesc: ID of the cLVM resource group.
    type: resource
    required: false
    value: g-clvm

actions:
  - cib: |
      primitive {{id}} ocf:heartbeat:LVM
        params volgrpname="{{volgrpname}}"
        op start timeout=60s
        op stop timeout=60s
        op monitor interval=30s timeout=60s

  - crm: configure modgroup {{clvm-group}} add {{id}}
    shortdesc: Add volume group to the cLVM group resource