From 7eaf87449b3c8f124866ab51d1f421b8ea100ec8 Mon Sep 17 00:00:00 2001 From: Rene Krenn Date: Fri, 19 Nov 2021 11:18:17 +0100 Subject: [PATCH] TT#151050 predictive rendering of apache-style conf fragments Change-Id: Ideee6fb12cbc40f592056c8e0a734c13b6615edd --- lib/NGCP/Template/Plugin/Utils.pm | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/NGCP/Template/Plugin/Utils.pm b/lib/NGCP/Template/Plugin/Utils.pm index 3754bece..4c9cd232 100644 --- a/lib/NGCP/Template/Plugin/Utils.pm +++ b/lib/NGCP/Template/Plugin/Utils.pm @@ -31,7 +31,9 @@ sub to_perl { sub to_config_general { my ($self, @params) = @_; - my $conf = Config::General->new(); + my $conf = Config::General->new( + SaveSorted => 1, + ); return $conf->save_string($params[0]); }