Skip to content

Commit

Permalink
Sort values to stabilise conf file
Browse files Browse the repository at this point in the history
  • Loading branch information
DavidS committed Jul 11, 2008
1 parent d2c8515 commit 899d51c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/puppet/provider/collectd_conf/parsed.rb
Expand Up @@ -33,7 +33,7 @@ def to_line(record)
if record[:value].is_a? Array
values = record[:value]
end
values.collect do |v| "%s %s" % [ record[:name], v ] end.join("\n")
values.collect do |v| "%s %s" % [ record[:name], v ] end.sort.join("\n")
end
end

Expand Down

0 comments on commit 899d51c

Please sign in to comment.