From 6610356df2f7a6798b8d63b7d98a67016997456a Mon Sep 17 00:00:00 2001 From: Lennart Betz Date: Fri, 1 Sep 2023 10:24:04 +0200 Subject: [PATCH] remove title sort from query_objects --- manifests/query_objects.pp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/manifests/query_objects.pp b/manifests/query_objects.pp index 93da8b45..b0674249 100644 --- a/manifests/query_objects.pp +++ b/manifests/query_objects.pp @@ -28,7 +28,7 @@ } # default } - $pql_query = puppetdb_query("resources[parameters] { ${_environments} type = 'Icinga2::Config::Fragment' and exported = true and tag = 'icinga2::instance::${destination}' and nodes { deactivated is null and expired is null } order by certname, title }") + $pql_query = puppetdb_query("resources[parameters] { ${_environments} type = 'Icinga2::Config::Fragment' and exported = true and tag = 'icinga2::instance::${destination}' and nodes { deactivated is null and expired is null } order by certname }") $file_list = $pql_query.map |$object| { $object['parameters']['target']