We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents e3999c1 + eb9d1ba commit 2575804Copy full SHA for 2575804
lib/puppet/provider/elastic_user_roles.rb
@@ -36,7 +36,7 @@ def self.parse(text)
36
# Represent this user/role record as a correctly-formatted config file.
37
def self.to_file(records)
38
debug "Flushing: #{records.inspect}"
39
- records.map do |record|
+ records = records.map do |record|
40
record[:roles].map do |r|
41
{ [record[:name]] => r }
42
end
0 commit comments