You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[root@pe ~]# file /etc/puppetlabs/pxp-agent/pxp-agent.conf
/etc/puppetlabs/pxp-agent/pxp-agent.conf: ASCII text, with very long lines, with no line terminators
[root@pe ~]#
Please create a .json config file and write a multiline string into with, with proper indentation and trailing \n. Please use stdlib::to_json_pretty() to render it. That's the default function from Puppet to render JSON, so it should be used here.
Steps to Reproduce
Install latest PE 2021 or PE 2023
file /etc/puppetlabs/pxp-agent/pxp-agent.conf
Environment
PE 2021.7.7
Additional Context
Similar to #13. I would also like to propose a patch or at least show the required changes here. But the PE license is a bit unclear and I don't know if I'm allowed to post the source code ¯\_(ツ)_/¯
The text was updated successfully, but these errors were encountered:
Describe the Bug
The pxp-agent config file (/etc/puppetlabs/pxp-agent/pxp-agent.conf) misses the
\n
at the end. The FHS also defines that a line has to end with one: https://pubs.opengroup.org/onlinepubs/9699919799/basedefs/V1_chap03.html#tag_03_206Also the whole file is a single line which makes it really ugly to read. I don't know if this is supposed to be JSON or HOCON. On slack someone mentioned it's HOCON. However the docs say pxp-agent uses JSON: https://github.com/puppetlabs/pxp-agent?tab=readme-ov-file#configuring-the-agent
Expected Behavior
Please create a .json config file and write a multiline string into with, with proper indentation and trailing \n. Please use
stdlib::to_json_pretty()
to render it. That's the default function from Puppet to render JSON, so it should be used here.Steps to Reproduce
Environment
Additional Context
Similar to #13. I would also like to propose a patch or at least show the required changes here. But the PE license is a bit unclear and I don't know if I'm allowed to post the source code
¯\_(ツ)_/¯
The text was updated successfully, but these errors were encountered: