Project

General

Profile

Statistics
| Branch: | Tag: | Revision:
Name Size
base.rb 26.5 KB
helpers.rb 6.76 KB
host_template.rb 10.4 KB
inputs.rb 2.4 KB
loaders.rb 4.9 KB
snippet_rendering.rb 4.44 KB
template_logging.rb 520 Bytes
transpilers.rb 1.93 KB

Latest revisions

# Date Author Comment
ea998f89 05/25/2023 08:21 PM Jeremy Lenz

Fixes #36426 - Introduce human-readable host statuses

405971f2 03/09/2023 02:23 PM Leos Stejskal

Fixes #36153 - host_puppet_environment ignores host param

If host responds to :environment, it always returns
value of the :environment, ignoring the :puppet_environment
host parameter.

Correct behavior is to check if :environment is set,
and if not, then return the value of host parameter....

5537d830 11/28/2022 01:57 PM Sayan Das

Refs #35530 - Dont use shellescape on the filename

57fe1821 10/31/2022 11:24 AM Adam Ruzicka

Fixes #35694 - Add foreman product version macro

1b245d59 10/25/2022 01:37 PM Leos Stejskal

Fixes #35536 - Template input_resource macro & preview error (#9428)

767fea26 10/04/2022 01:13 PM Adam Ruzicka

Refs #35530 - Alternative approach to save_to_file

save_to_macro generates a command using cat and a heredoc string.
However, if the content to be written contains a heredoc using the same
delimiter, save_to_macro's heredoc will be terminated by it, leading to...

38365d82 09/26/2022 02:32 PM Adam Ruzicka

Fixes #35530 - Make save_to_file macro safer (#9426)

  • Fixes #35530 - Make save_to_file macro safer

save_to_file does

cat <<EOF >$file
$content
EOF

but if `$content` contains a heredoc terminated with `EOF`, it
terminates the heredoc that save_to_file creates....

eebd309f 08/03/2022 12:46 PM Leos Stejskal

Fixes #35306 - host_puppet_* template macros ignores host_param (#9334)

When host.puppet_server or host.puppet_ca_server returns
empty string we don't load the values from host parameters.

130b782f 07/11/2022 12:07 PM Adam Ruzicka

Fixes #35174 - Expose Foreman short version as a macro

fc8b9d39 06/22/2022 01:11 PM Oleh Fedorenko

Fixes #32881 - Expose previous application record revision through safemode (#9258)

View revisions

Also available in: Atom