Skip to content

Commit 2575804

Browse files
authored
Merge pull request #1165 from otterz/issue#1155
Fix user role mapping config file
2 parents e3999c1 + eb9d1ba commit 2575804

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/puppet/provider/elastic_user_roles.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ def self.parse(text)
3636
# Represent this user/role record as a correctly-formatted config file.
3737
def self.to_file(records)
3838
debug "Flushing: #{records.inspect}"
39-
records.map do |record|
39+
records = records.map do |record|
4040
record[:roles].map do |r|
4141
{ [record[:name]] => r }
4242
end

0 commit comments

Comments
 (0)