Skip to content

Commit

Permalink
reformat comments
Browse files Browse the repository at this point in the history
  • Loading branch information
rtib committed Jul 18, 2023
1 parent 0d136aa commit 3ef1d72
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions lib/facter/lvm_support.rb
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@
setcode { vg_list.length }
end

# # lvm_vg_[0-9]+
# # VG name by index
# lvm_vg_[0-9]+
# VG name by index
vg_list.each_with_index do |vg, i|
Facter.add("lvm_vg_#{i}") do
setcode { vg }
Expand All @@ -41,8 +41,8 @@
end
end

# # lvm_pvs: [0-9]+
# # Number of PVs
# lvm_pvs: [0-9]+
# Number of PVs
pv_list = []
Facter.add('lvm_pvs') do
confine lvm_support: true
Expand All @@ -55,8 +55,8 @@
setcode { pv_list.length }
end

# # lvm_pv_[0-9]+
# # PV name by index
# lvm_pv_[0-9]+
# PV name by index
pv_list.each_with_index do |pv, i|
Facter.add("lvm_pv_#{i}") do
setcode { pv }
Expand Down

0 comments on commit 3ef1d72

Please sign in to comment.