chef-ruby-lvm-attrib 0.3.13 → 0.3.14
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.github/CODEOWNERS +1 -5
- data/.markdownlint-cli2.yaml +5 -0
- data/CHANGELOG.md +22 -22
- data/CODE_OF_CONDUCT.md +1 -1
- data/CONTRIBUTING.md +1 -1
- data/LICENSE +201 -0
- data/README.md +2 -18
- data/VERSION +1 -1
- data/chef-ruby-lvm-attrib.gemspec +4 -4
- data/lib/lvm/attributes/2.03.17(2)/lvs.yaml +384 -0
- data/lib/lvm/attributes/2.03.17(2)/lvsseg.yaml +214 -0
- data/lib/lvm/attributes/2.03.17(2)/pvs.yaml +121 -0
- data/lib/lvm/attributes/2.03.17(2)/pvsseg.yaml +16 -0
- data/lib/lvm/attributes/2.03.17(2)/vgs.yaml +144 -0
- data/lib/lvm/attributes.rb +1 -2
- data/lib/lvm/version.rb +5 -0
- metadata +14 -12
- data/.github/ISSUE_TEMPLATE/BUG_TEMPLATE.md +0 -29
- data/.github/ISSUE_TEMPLATE/DESIGN_PROPOSAL.md +0 -40
- data/.github/ISSUE_TEMPLATE/ENHANCEMENT_REQUEST_TEMPLATE.md +0 -17
- data/.github/ISSUE_TEMPLATE/SUPPORT_QUESTION.md +0 -12
- data/.github/PULL_REQUEST_TEMPLATE.md +0 -15
- data/.github/dependabot.yml +0 -9
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
# These are column to object attribute mappings
|
|
2
|
+
# generated by ./bin/generate_field_data based on
|
|
3
|
+
# lvm2/lib/report/columns.h
|
|
4
|
+
---
|
|
5
|
+
- :method: pv_uuid
|
|
6
|
+
:column: pv_uuid
|
|
7
|
+
:type_hint: String
|
|
8
|
+
:description: For PhysicalVolume to PhysicalVolumeSegment relationship.
|
|
9
|
+
- :method: size
|
|
10
|
+
:column: pvseg_size
|
|
11
|
+
:type_hint: Integer
|
|
12
|
+
:description: Number of extents in segment.
|
|
13
|
+
- :method: start
|
|
14
|
+
:column: pvseg_start
|
|
15
|
+
:type_hint: Integer
|
|
16
|
+
:description: Physical Extent number of start of segment.
|
|
@@ -0,0 +1,144 @@
|
|
|
1
|
+
# These are column to object attribute mappings
|
|
2
|
+
# generated by ./bin/generate_field_data based on
|
|
3
|
+
# lvm2/lib/report/columns.h
|
|
4
|
+
---
|
|
5
|
+
- :method: lv_count
|
|
6
|
+
:column: lv_count
|
|
7
|
+
:type_hint: Integer
|
|
8
|
+
:description: Number of LVs.
|
|
9
|
+
- :method: max_lv
|
|
10
|
+
:column: max_lv
|
|
11
|
+
:type_hint: Integer
|
|
12
|
+
:description: Maximum number of LVs allowed in VG or 0 if unlimited.
|
|
13
|
+
- :method: max_pv
|
|
14
|
+
:column: max_pv
|
|
15
|
+
:type_hint: Integer
|
|
16
|
+
:description: Maximum number of PVs allowed in VG or 0 if unlimited.
|
|
17
|
+
- :method: pv_count
|
|
18
|
+
:column: pv_count
|
|
19
|
+
:type_hint: Integer
|
|
20
|
+
:description: Number of PVs in VG.
|
|
21
|
+
- :method: snap_count
|
|
22
|
+
:column: snap_count
|
|
23
|
+
:type_hint: Integer
|
|
24
|
+
:description: Number of snapshots.
|
|
25
|
+
- :method: allocation_policy
|
|
26
|
+
:column: vg_allocation_policy
|
|
27
|
+
:type_hint: String
|
|
28
|
+
:description: VG allocation policy.
|
|
29
|
+
- :method: attr
|
|
30
|
+
:column: vg_attr
|
|
31
|
+
:type_hint: String
|
|
32
|
+
:description: Various attributes - see man page.
|
|
33
|
+
- :method: autoactivation
|
|
34
|
+
:column: vg_autoactivation
|
|
35
|
+
:type_hint: String
|
|
36
|
+
:description: Set if VG autoactivation is enabled.
|
|
37
|
+
- :method: clustered
|
|
38
|
+
:column: vg_clustered
|
|
39
|
+
:type_hint: String
|
|
40
|
+
:description: Set if VG is clustered.
|
|
41
|
+
- :method: exported
|
|
42
|
+
:column: vg_exported
|
|
43
|
+
:type_hint: String
|
|
44
|
+
:description: Set if VG is exported.
|
|
45
|
+
- :method: extendable
|
|
46
|
+
:column: vg_extendable
|
|
47
|
+
:type_hint: String
|
|
48
|
+
:description: Set if VG is extendable.
|
|
49
|
+
- :method: extent_count
|
|
50
|
+
:column: vg_extent_count
|
|
51
|
+
:type_hint: Integer
|
|
52
|
+
:description: Total number of Physical Extents.
|
|
53
|
+
- :method: extent_size
|
|
54
|
+
:column: vg_extent_size
|
|
55
|
+
:type_hint: Integer
|
|
56
|
+
:description: Size of Physical Extents in current units.
|
|
57
|
+
- :method: fmt
|
|
58
|
+
:column: vg_fmt
|
|
59
|
+
:type_hint: String
|
|
60
|
+
:description: Type of metadata.
|
|
61
|
+
- :method: free
|
|
62
|
+
:column: vg_free
|
|
63
|
+
:type_hint: Integer
|
|
64
|
+
:description: Total amount of free space in current units.
|
|
65
|
+
- :method: free_count
|
|
66
|
+
:column: vg_free_count
|
|
67
|
+
:type_hint: Integer
|
|
68
|
+
:description: Total number of unallocated Physical Extents.
|
|
69
|
+
- :method: lock_args
|
|
70
|
+
:column: vg_lock_args
|
|
71
|
+
:type_hint: String
|
|
72
|
+
:description: Lock args of the VG used by lvmlockd.
|
|
73
|
+
- :method: lock_type
|
|
74
|
+
:column: vg_lock_type
|
|
75
|
+
:type_hint: String
|
|
76
|
+
:description: Lock type of the VG used by lvmlockd.
|
|
77
|
+
- :method: mda_copies
|
|
78
|
+
:column: vg_mda_copies
|
|
79
|
+
:type_hint: Integer
|
|
80
|
+
:description: Target number of in use metadata areas in the VG.
|
|
81
|
+
- :method: mda_count
|
|
82
|
+
:column: vg_mda_count
|
|
83
|
+
:type_hint: Integer
|
|
84
|
+
:description: Number of metadata areas on this VG.
|
|
85
|
+
- :method: mda_free
|
|
86
|
+
:column: vg_mda_free
|
|
87
|
+
:type_hint: Integer
|
|
88
|
+
:description: Free metadata area space for this VG in current units.
|
|
89
|
+
- :method: mda_size
|
|
90
|
+
:column: vg_mda_size
|
|
91
|
+
:type_hint: Integer
|
|
92
|
+
:description: Size of smallest metadata area for this VG in current units.
|
|
93
|
+
- :method: mda_used_count
|
|
94
|
+
:column: vg_mda_used_count
|
|
95
|
+
:type_hint: Integer
|
|
96
|
+
:description: Number of metadata areas in use on this VG.
|
|
97
|
+
- :method: missing_pv_count
|
|
98
|
+
:column: vg_missing_pv_count
|
|
99
|
+
:type_hint: Integer
|
|
100
|
+
:description: Number of PVs in VG which are missing.
|
|
101
|
+
- :method: name
|
|
102
|
+
:column: vg_name
|
|
103
|
+
:type_hint: String
|
|
104
|
+
:description: Name.
|
|
105
|
+
- :method: partial
|
|
106
|
+
:column: vg_partial
|
|
107
|
+
:type_hint: String
|
|
108
|
+
:description: Set if VG is partial.
|
|
109
|
+
- :method: permissions
|
|
110
|
+
:column: vg_permissions
|
|
111
|
+
:type_hint: String
|
|
112
|
+
:description: VG permissions.
|
|
113
|
+
- :method: profile
|
|
114
|
+
:column: vg_profile
|
|
115
|
+
:type_hint: String
|
|
116
|
+
:description: Configuration profile attached to this VG.
|
|
117
|
+
- :method: seqno
|
|
118
|
+
:column: vg_seqno
|
|
119
|
+
:type_hint: Integer
|
|
120
|
+
:description: Revision number of internal metadata. Incremented whenever it changes.
|
|
121
|
+
- :method: shared
|
|
122
|
+
:column: vg_shared
|
|
123
|
+
:type_hint: String
|
|
124
|
+
:description: Set if VG is shared.
|
|
125
|
+
- :method: size
|
|
126
|
+
:column: vg_size
|
|
127
|
+
:type_hint: Integer
|
|
128
|
+
:description: Total size of VG in current units.
|
|
129
|
+
- :method: sysid
|
|
130
|
+
:column: vg_sysid
|
|
131
|
+
:type_hint: String
|
|
132
|
+
:description: System ID of the VG indicating which host owns it.
|
|
133
|
+
- :method: systemid
|
|
134
|
+
:column: vg_systemid
|
|
135
|
+
:type_hint: String
|
|
136
|
+
:description: System ID of the VG indicating which host owns it.
|
|
137
|
+
- :method: tags
|
|
138
|
+
:column: vg_tags
|
|
139
|
+
:type_hint: String
|
|
140
|
+
:description: Tags
|
|
141
|
+
- :method: uuid
|
|
142
|
+
:column: vg_uuid
|
|
143
|
+
:type_hint: String
|
|
144
|
+
:description: Unique identifier.
|
data/lib/lvm/attributes.rb
CHANGED
data/lib/lvm/version.rb
ADDED
metadata
CHANGED
|
@@ -1,39 +1,35 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: chef-ruby-lvm-attrib
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.3.
|
|
4
|
+
version: 0.3.14
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
|
-
-
|
|
7
|
+
- Sous-Chefs
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2023-
|
|
11
|
+
date: 2023-10-24 00:00:00.000000000 Z
|
|
12
12
|
dependencies: []
|
|
13
13
|
description: A list of attributes for LVM objects
|
|
14
14
|
email:
|
|
15
|
-
-
|
|
15
|
+
- help@sous-chefs.org
|
|
16
16
|
executables:
|
|
17
17
|
- generate_field_data
|
|
18
18
|
extensions: []
|
|
19
19
|
extra_rdoc_files: []
|
|
20
20
|
files:
|
|
21
21
|
- ".github/CODEOWNERS"
|
|
22
|
-
- ".github/ISSUE_TEMPLATE/BUG_TEMPLATE.md"
|
|
23
|
-
- ".github/ISSUE_TEMPLATE/DESIGN_PROPOSAL.md"
|
|
24
|
-
- ".github/ISSUE_TEMPLATE/ENHANCEMENT_REQUEST_TEMPLATE.md"
|
|
25
|
-
- ".github/ISSUE_TEMPLATE/SUPPORT_QUESTION.md"
|
|
26
|
-
- ".github/PULL_REQUEST_TEMPLATE.md"
|
|
27
|
-
- ".github/dependabot.yml"
|
|
28
22
|
- ".github/workflows/ci.yml"
|
|
29
23
|
- ".gitignore"
|
|
30
24
|
- ".gitmodules"
|
|
25
|
+
- ".markdownlint-cli2.yaml"
|
|
31
26
|
- ".mdlrc"
|
|
32
27
|
- ".rubocop.yml"
|
|
33
28
|
- CHANGELOG.md
|
|
34
29
|
- CODE_OF_CONDUCT.md
|
|
35
30
|
- CONTRIBUTING.md
|
|
36
31
|
- Gemfile
|
|
32
|
+
- LICENSE
|
|
37
33
|
- README.md
|
|
38
34
|
- Rakefile
|
|
39
35
|
- VERSION
|
|
@@ -635,17 +631,23 @@ files:
|
|
|
635
631
|
- lib/lvm/attributes/2.03.16(2)/pvs.yaml
|
|
636
632
|
- lib/lvm/attributes/2.03.16(2)/pvsseg.yaml
|
|
637
633
|
- lib/lvm/attributes/2.03.16(2)/vgs.yaml
|
|
634
|
+
- lib/lvm/attributes/2.03.17(2)/lvs.yaml
|
|
635
|
+
- lib/lvm/attributes/2.03.17(2)/lvsseg.yaml
|
|
636
|
+
- lib/lvm/attributes/2.03.17(2)/pvs.yaml
|
|
637
|
+
- lib/lvm/attributes/2.03.17(2)/pvsseg.yaml
|
|
638
|
+
- lib/lvm/attributes/2.03.17(2)/vgs.yaml
|
|
638
639
|
- lib/lvm/attributes/2.03.21(2)/lvs.yaml
|
|
639
640
|
- lib/lvm/attributes/2.03.21(2)/lvsseg.yaml
|
|
640
641
|
- lib/lvm/attributes/2.03.21(2)/pvs.yaml
|
|
641
642
|
- lib/lvm/attributes/2.03.21(2)/pvsseg.yaml
|
|
642
643
|
- lib/lvm/attributes/2.03.21(2)/vgs.yaml
|
|
644
|
+
- lib/lvm/version.rb
|
|
643
645
|
- renovate.json
|
|
644
646
|
- test/test_ruby-lvm-attributes.rb
|
|
645
647
|
- update-lvm.sh
|
|
646
|
-
homepage: https://github.com/
|
|
648
|
+
homepage: https://github.com/sous-chefs/chef-ruby-lvm-attrib
|
|
647
649
|
licenses:
|
|
648
|
-
-
|
|
650
|
+
- Apache-2.0
|
|
649
651
|
metadata: {}
|
|
650
652
|
post_install_message:
|
|
651
653
|
rdoc_options: []
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: � Bug Report
|
|
3
|
-
about: If something isn't working as expected �.
|
|
4
|
-
labels: "Status: Untriaged"
|
|
5
|
-
---
|
|
6
|
-
|
|
7
|
-
# Version:
|
|
8
|
-
|
|
9
|
-
[Version of the project installed]
|
|
10
|
-
|
|
11
|
-
# Environment:
|
|
12
|
-
|
|
13
|
-
[Details about the environment such as the Operating System, cookbook details, etc...]
|
|
14
|
-
|
|
15
|
-
# Scenario:
|
|
16
|
-
|
|
17
|
-
[What you are trying to achieve and you can't?]
|
|
18
|
-
|
|
19
|
-
# Steps to Reproduce:
|
|
20
|
-
|
|
21
|
-
[If you are filing an issue what are the things we need to do in order to repro your problem?]
|
|
22
|
-
|
|
23
|
-
# Expected Result:
|
|
24
|
-
|
|
25
|
-
[What are you expecting to happen as the consequence of above reproduction steps?]
|
|
26
|
-
|
|
27
|
-
# Actual Result:
|
|
28
|
-
|
|
29
|
-
[What actually happens after the reproduction steps?]
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: Design Proposal
|
|
3
|
-
about: I have a significant change I would like to propose and discuss before starting
|
|
4
|
-
labels: "Status: Untriaged"
|
|
5
|
-
---
|
|
6
|
-
|
|
7
|
-
### When a Change Needs a Design Proposal
|
|
8
|
-
|
|
9
|
-
A design proposal should be opened any time a change meets one of the following qualifications:
|
|
10
|
-
|
|
11
|
-
- Significantly changes the user experience of a project in a way that impacts users.
|
|
12
|
-
- Significantly changes the underlying architecture of the project in a way that impacts other developers.
|
|
13
|
-
- Changes the development or testing process of the project such as a change of CI systems or test frameworks.
|
|
14
|
-
|
|
15
|
-
### Why We Use This Process
|
|
16
|
-
|
|
17
|
-
- Allows all interested parties (including any community member) to discuss large impact changes to a project.
|
|
18
|
-
- Serves as a durable paper trail for discussions regarding project architecture.
|
|
19
|
-
- Forces design discussions to occur before PRs are created.
|
|
20
|
-
- Reduces PR refactoring and rejected PRs.
|
|
21
|
-
|
|
22
|
-
---
|
|
23
|
-
|
|
24
|
-
<!--- Proposal description and rationale. -->
|
|
25
|
-
|
|
26
|
-
## Motivation
|
|
27
|
-
|
|
28
|
-
<!---
|
|
29
|
-
As a <<user_profile>>,
|
|
30
|
-
I want to <<functionality>>,
|
|
31
|
-
so that <<benefit>>.
|
|
32
|
-
-->
|
|
33
|
-
|
|
34
|
-
## Specification
|
|
35
|
-
|
|
36
|
-
<!--- A detailed description of the planned implementation. -->
|
|
37
|
-
|
|
38
|
-
## Downstream Impact
|
|
39
|
-
|
|
40
|
-
<!--- Which other tools will be impacted by this work? -->
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: 🚀 Enhancement Request
|
|
3
|
-
about: I have a suggestion (and may want to implement it 🙂)!
|
|
4
|
-
labels: "Status: Untriaged"
|
|
5
|
-
---
|
|
6
|
-
|
|
7
|
-
### Describe the Enhancement:
|
|
8
|
-
<!--- What you are trying to achieve that you can't? -->
|
|
9
|
-
|
|
10
|
-
### Describe the Need:
|
|
11
|
-
<!--- What kind of user do you believe would utilize this enhancement, and how many users might want this functionality -->
|
|
12
|
-
|
|
13
|
-
### Current Alternative
|
|
14
|
-
<!--- Is there a current alternative that you can utilize to workaround the lack of this enhancement -->
|
|
15
|
-
|
|
16
|
-
### Can We Help You Implement This?:
|
|
17
|
-
<!--- The best way to ensure your enhancement is built is to help implement the enhancement yourself. If you're interested in helping out we'd love to give you a hand to make this possible. Let us know if there's something you need. -->
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: 🤗 Support Question
|
|
3
|
-
about: If you have a question 💬, please check out our Slack!
|
|
4
|
-
---
|
|
5
|
-
|
|
6
|
-
We use GitHub issues to track bugs and feature requests. If you need help please post to our Mailing List or join the Chef Community Slack.
|
|
7
|
-
|
|
8
|
-
* Chef Community Slack at http://community-slack.chef.io/.
|
|
9
|
-
* Chef Mailing List https://discourse.chef.io/
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
Support issues opened here will be closed and redirected to Slack or Discourse.
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
### Description
|
|
2
|
-
|
|
3
|
-
[Please describe what this change achieves]
|
|
4
|
-
|
|
5
|
-
### Issues Resolved
|
|
6
|
-
|
|
7
|
-
[List any existing issues this PR resolves, or any Discourse or
|
|
8
|
-
StackOverflow discussions that are relevant]
|
|
9
|
-
|
|
10
|
-
### Check List
|
|
11
|
-
|
|
12
|
-
- [ ] New functionality includes tests
|
|
13
|
-
- [ ] All tests pass
|
|
14
|
-
- [ ] All commits have been signed-off for the Developer Certificate of Origin. See <https://github.com/chef/chef/blob/master/CONTRIBUTING.md#developer-certification-of-origin-dco>
|
|
15
|
-
- [ ] PR title is a worthy inclusion in the CHANGELOG
|