Skip to content

Commit

Permalink
Merge pull request #219 from dacron/master
Browse files Browse the repository at this point in the history
volume_group type does not handle passing of physical_volumes as a hash
  • Loading branch information
tphoney authored Jul 25, 2019
2 parents 9957b55 + 47e57cf commit 109ed00
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions lib/puppet/type/volume_group.rb
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,14 @@
will automatically set these as dependencies, but they must be defined elsewhere
using the physical_volume resource type."

munge do |value|
if value.is_a?(Hash) then
value.keys.sort
else
value
end
end

def insync?(is)
if @resource.parameter(:followsymlinks).value == :true then
real_should = []
Expand Down

0 comments on commit 109ed00

Please sign in to comment.