chef-ruby-lvm-attrib 0.3.13 → 0.3.15

Sign up to get free protection for your applications and to get access to all the features.
Files changed (41) hide show
  1. checksums.yaml +4 -4
  2. data/.editorconfig +19 -0
  3. data/.envrc +1 -0
  4. data/.gitattributes +1 -0
  5. data/.github/CODEOWNERS +1 -5
  6. data/.gitignore +47 -7
  7. data/.markdownlint-cli2.yaml +5 -0
  8. data/.overcommit.yml +24 -0
  9. data/.yamllint +15 -0
  10. data/CHANGELOG.md +22 -22
  11. data/CODE_OF_CONDUCT.md +3 -1
  12. data/CONTRIBUTING.md +4 -1
  13. data/LICENSE +201 -0
  14. data/README.md +2 -18
  15. data/TESTING.md +3 -0
  16. data/VERSION +1 -1
  17. data/chef-ruby-lvm-attrib.gemspec +4 -4
  18. data/chefignore +115 -0
  19. data/kitchen.dokken.yml +113 -0
  20. data/kitchen.exec.yml +7 -0
  21. data/kitchen.global.yml +38 -0
  22. data/lib/lvm/attributes/2.03.17(2)/lvs.yaml +384 -0
  23. data/lib/lvm/attributes/2.03.17(2)/lvsseg.yaml +214 -0
  24. data/lib/lvm/attributes/2.03.17(2)/pvs.yaml +121 -0
  25. data/lib/lvm/attributes/2.03.17(2)/pvsseg.yaml +16 -0
  26. data/lib/lvm/attributes/2.03.17(2)/vgs.yaml +144 -0
  27. data/lib/lvm/attributes/2.03.22(2)/lvs.yaml +384 -0
  28. data/lib/lvm/attributes/2.03.22(2)/lvsseg.yaml +214 -0
  29. data/lib/lvm/attributes/2.03.22(2)/pvs.yaml +121 -0
  30. data/lib/lvm/attributes/2.03.22(2)/pvsseg.yaml +16 -0
  31. data/lib/lvm/attributes/2.03.22(2)/vgs.yaml +144 -0
  32. data/lib/lvm/attributes.rb +1 -2
  33. data/lib/lvm/version.rb +5 -0
  34. data/renovate.json +14 -2
  35. metadata +29 -12
  36. data/.github/ISSUE_TEMPLATE/BUG_TEMPLATE.md +0 -29
  37. data/.github/ISSUE_TEMPLATE/DESIGN_PROPOSAL.md +0 -40
  38. data/.github/ISSUE_TEMPLATE/ENHANCEMENT_REQUEST_TEMPLATE.md +0 -17
  39. data/.github/ISSUE_TEMPLATE/SUPPORT_QUESTION.md +0 -12
  40. data/.github/PULL_REQUEST_TEMPLATE.md +0 -15
  41. 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.
@@ -1,9 +1,8 @@
1
1
  require "yaml" unless defined?(YAML)
2
+ require_relative "version"
2
3
 
3
4
  module LVM
4
5
  module Attributes
5
- VERSION = "0.3.13".freeze
6
-
7
6
  def load(version, name)
8
7
  cwd = __dir__
9
8
 
@@ -0,0 +1,5 @@
1
+ module LVM
2
+ module Attributes
3
+ VERSION = "0.3.15".freeze
4
+ end
5
+ end
data/renovate.json CHANGED
@@ -1,6 +1,18 @@
1
1
  {
2
2
  "$schema": "https://docs.renovatebot.com/renovate-schema.json",
3
- "extends": [
4
- "config:base"
3
+ "extends": ["config:base"],
4
+ "packageRules": [
5
+ {
6
+ "groupName": "Actions",
7
+ "matchUpdateTypes": ["minor", "patch", "pin"],
8
+ "automerge": true,
9
+ "addLabels": ["Release: Patch", "Skip: Announcements"]
10
+ },
11
+ {
12
+ "groupName": "Actions",
13
+ "matchUpdateTypes": ["major"],
14
+ "automerge": false,
15
+ "addLabels": ["Release: Patch", "Skip: Announcements"]
16
+ }
5
17
  ]
6
18
  }
metadata CHANGED
@@ -1,44 +1,50 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: chef-ruby-lvm-attrib
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.13
4
+ version: 0.3.15
5
5
  platform: ruby
6
6
  authors:
7
- - Chef Software
7
+ - Sous-Chefs
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-09-07 00:00:00.000000000 Z
11
+ date: 2024-05-01 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: A list of attributes for LVM objects
14
14
  email:
15
- - oss@chef.io
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
+ - ".editorconfig"
22
+ - ".envrc"
23
+ - ".gitattributes"
21
24
  - ".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
25
  - ".github/workflows/ci.yml"
29
26
  - ".gitignore"
30
27
  - ".gitmodules"
28
+ - ".markdownlint-cli2.yaml"
31
29
  - ".mdlrc"
30
+ - ".overcommit.yml"
32
31
  - ".rubocop.yml"
32
+ - ".yamllint"
33
33
  - CHANGELOG.md
34
34
  - CODE_OF_CONDUCT.md
35
35
  - CONTRIBUTING.md
36
36
  - Gemfile
37
+ - LICENSE
37
38
  - README.md
38
39
  - Rakefile
40
+ - TESTING.md
39
41
  - VERSION
40
42
  - bin/generate_field_data
41
43
  - chef-ruby-lvm-attrib.gemspec
44
+ - chefignore
45
+ - kitchen.dokken.yml
46
+ - kitchen.exec.yml
47
+ - kitchen.global.yml
42
48
  - lib/lvm/attributes.rb
43
49
  - lib/lvm/attributes/2.02.100(2)/lvs.yaml
44
50
  - lib/lvm/attributes/2.02.100(2)/lvsseg.yaml
@@ -635,17 +641,28 @@ files:
635
641
  - lib/lvm/attributes/2.03.16(2)/pvs.yaml
636
642
  - lib/lvm/attributes/2.03.16(2)/pvsseg.yaml
637
643
  - lib/lvm/attributes/2.03.16(2)/vgs.yaml
644
+ - lib/lvm/attributes/2.03.17(2)/lvs.yaml
645
+ - lib/lvm/attributes/2.03.17(2)/lvsseg.yaml
646
+ - lib/lvm/attributes/2.03.17(2)/pvs.yaml
647
+ - lib/lvm/attributes/2.03.17(2)/pvsseg.yaml
648
+ - lib/lvm/attributes/2.03.17(2)/vgs.yaml
638
649
  - lib/lvm/attributes/2.03.21(2)/lvs.yaml
639
650
  - lib/lvm/attributes/2.03.21(2)/lvsseg.yaml
640
651
  - lib/lvm/attributes/2.03.21(2)/pvs.yaml
641
652
  - lib/lvm/attributes/2.03.21(2)/pvsseg.yaml
642
653
  - lib/lvm/attributes/2.03.21(2)/vgs.yaml
654
+ - lib/lvm/attributes/2.03.22(2)/lvs.yaml
655
+ - lib/lvm/attributes/2.03.22(2)/lvsseg.yaml
656
+ - lib/lvm/attributes/2.03.22(2)/pvs.yaml
657
+ - lib/lvm/attributes/2.03.22(2)/pvsseg.yaml
658
+ - lib/lvm/attributes/2.03.22(2)/vgs.yaml
659
+ - lib/lvm/version.rb
643
660
  - renovate.json
644
661
  - test/test_ruby-lvm-attributes.rb
645
662
  - update-lvm.sh
646
- homepage: https://github.com/chef/chef-ruby-lvm-attrib
663
+ homepage: https://github.com/sous-chefs/chef-ruby-lvm-attrib
647
664
  licenses:
648
- - MIT
665
+ - Apache-2.0
649
666
  metadata: {}
650
667
  post_install_message:
651
668
  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
@@ -1,9 +0,0 @@
1
- version: 2
2
- updates:
3
- - package-ecosystem: bundler
4
- directory: "/"
5
- schedule:
6
- interval: daily
7
- time: "06:00"
8
- timezone: America/Los_Angeles
9
- open-pull-requests-limit: 10