Skip to content

Commit

Permalink
Merge pull request #42 from danielparks/sort-hosts
Browse files Browse the repository at this point in the history
Sort hosts before writing them to a file
  • Loading branch information
npwalker authored Oct 19, 2017
2 parents 71475b9 + d3a9edf commit 24928db
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion manifests/pe_metric.pp
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
}

$config_hash = {
'hosts' => $hosts,
'hosts' => $hosts.sort(),
'metrics_type' => $metrics_type,
'metrics_port' => $metrics_port,
'additional_metrics' => $additional_metrics,
Expand Down

0 comments on commit 24928db

Please sign in to comment.