From 6ef3dc8c2bde9ea469f169b3df47f079ce4fc297 Mon Sep 17 00:00:00 2001 From: James Adams Date: Fri, 29 Nov 2024 11:32:34 +0000 Subject: [PATCH] ncm-puppet: Fix wrapping and indentation in pan --- ncm-puppet/src/main/pan/components/puppet/schema.pan | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/ncm-puppet/src/main/pan/components/puppet/schema.pan b/ncm-puppet/src/main/pan/components/puppet/schema.pan index 9fe5a4228f..6d71b1d4ac 100644 --- a/ncm-puppet/src/main/pan/components/puppet/schema.pan +++ b/ncm-puppet/src/main/pan/components/puppet/schema.pan @@ -47,8 +47,13 @@ type puppet_component = { "nodefiles_path" : string = '/etc/puppet/manifests' "puppetconf" : puppet_puppetconf = dict("main", dict("logdir", "/var/log/puppet", "rundir", "/var/run/puppet")) "puppetconf_file" : string = '/etc/puppet/puppet.conf' - "hieraconf" : puppet_hieraconf = dict(escape(":backends"), list("yaml"), escape(":yaml"), - dict(escape(":datadir"), "/etc/puppet/hieradata"), escape(":hierarchy"), list("quattor")) + "hieraconf" : puppet_hieraconf = dict( + escape(":backends"), list("yaml"), + escape(":yaml"), dict( + escape(":datadir"), "/etc/puppet/hieradata", + ), + escape(":hierarchy"), list("quattor"), + ) "hieraconf_file" : string = "/etc/puppet/hiera.yaml" "hieradata" ? puppet_hieradata "hieradata_file" : string = "/etc/puppet/hieradata/quattor.yaml"