Re: Re: Modify a YAML file
"craig.comstock via help-cfengine" <[email protected]> Tue, 12 Aug 2025 20:29:11 -0500
| Newsgroups | gmane.comp.sysutils.cfengine.general |
|---|---|
| Message-ID | <aJvqZ3tus-4aWN8A@localhost> |
--85STgv2V0zYIjc5j Content-Type: text/plain; charset="UTF-8" Content-Disposition: inline On Tue, Aug 12, 2025 at 05:04:16PM -0600, Jerome Verleyen wrote: > replace_line_end is usable just once. In I think you should use a mustache template with a files promise. Here is an example to get started. There is much more you can do depending on the data you provide and the nesting available. https://docs.cfengine.com/docs/3.24/examples-tutorials-render-files-with-mustache-templates.html#top -Craig -- You received this message because you are subscribed to the Google Groups "help-cfengine" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion visit https://groups.google.com/d/msgid/help-cfengine/aJvqZ3tus-4aWN8A%40localhost. --85STgv2V0zYIjc5j Content-Type: application/pgp-signature; name=signature.asc -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEESGo8ZOGtfXSf5OBen4xVY6q84woFAmib6mEACgkQn4xVY6q8 4wodewf/ZmqGwhpIZve+MVgtctdShtl80d5g/Jbujld+8oZcwNAEZifTMykDaUq6 WXRAFXgQ6S5VV5h/jGyuT1fH/2K5fzXsiWVYsk0iiWEHwsjTy55Z28beaha0XpSX H8e+USPX1Se7shTW76kPw7BJlPKY0IwSw3T41X8P0OsHTWLdYkA8/6Mz09aYk12/ f9+XB7zeR6w/82NU4MqbkdPpEOb7szJkzFQchC6ouhUgGx1dPTPUPMmIjDdI4gkl NAR7FbWq6QV9DMXtA19iSneuJI0kzhUbiAicFX/r7T1ECYCGGyCn8tCg5ru4tAPf NQ/k/NGDKp4evivO2wLoqhYYWkl6GQ== =hUT9 -----END PGP SIGNATURE----- --85STgv2V0zYIjc5j--