Project

General

Profile

Statistics
| Branch: | Tag: | Revision:
Name Size
  macros
  variables
base.rb 1.75 KB
macros.rb 98 Bytes
partition.rb 200 Bytes
provisioning.rb 261 Bytes
report.rb 7.09 KB
template.rb 388 Bytes
template_input_values.rb 138 Bytes
variables.rb 767 Bytes

Latest revisions

# Date Author Comment
d430f3fb 09/28/2023 10:19 AM Evgeni Golov

Fixes #36759 - only call allowed transpilers

CVE-2022-3874: OS command injection via ct_command and fcct_command

Instead of allowing to call any command by changing a setting, only
allow specific paths to ct/fcct. If the user needs a different path,
they can set it via settings.yaml.

66901b52 05/29/2023 03:31 PM Leos Stejskal

Fixes #36239 - Template load_resource - explain :joins, :preload and includes

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....

9089087e 09/12/2022 10:51 AM Ewoud Kohl van Wijngaarden

Fixes #35300 - Pass keyword arguments correctly (#9332)

In Ruby 3.0 keyword arguments are handled separate from positional
arguments1. This uses kwargs and passes it along.

[1]: https://www.ruby-lang.org/en/news/2019/12/12/separation-of-positional-and-keyword-arguments-in-ruby-3-0/

View revisions

Also available in: Atom