From 2bcb761685219097cf85e7053b35fa95a8d3cdee Mon Sep 17 00:00:00 2001 From: James Adams Date: Thu, 28 Nov 2024 14:22:32 +0000 Subject: [PATCH] ncm-pnp4nagios: Fix wrapping and indentation in pan --- .../main/pan/components/pnp4nagios/config-rpm.pan | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/ncm-pnp4nagios/src/main/pan/components/pnp4nagios/config-rpm.pan b/ncm-pnp4nagios/src/main/pan/components/pnp4nagios/config-rpm.pan index 3d6c9b2fee..99586856ac 100755 --- a/ncm-pnp4nagios/src/main/pan/components/pnp4nagios/config-rpm.pan +++ b/ncm-pnp4nagios/src/main/pan/components/pnp4nagios/config-rpm.pan @@ -15,13 +15,13 @@ include 'components/pnp4nagios/schema'; # Package to install "/software/packages" = pkg_repl("ncm-${project.artifactId}", "${no-snapshot-version}-${rpm.release}", "noarch"); -"/software/components/pnp4nagios/dependencies/pre" ?= if (exists("/software/components/icinga")) { - list ("icinga"); - } else if (exists("/software/components/nagios")) { - list("nagios"); - } else { - list("spma"); - }; +"/software/components/pnp4nagios/dependencies/pre" ?= if (exists("/software/components/icinga")) { + list("icinga"); +} else if (exists("/software/components/nagios")) { + list("nagios"); +} else { + list("spma"); +}; "/software/components/pnp4nagios/active" ?= true; "/software/components/pnp4nagios/dispatch" ?= true;