Project

General

Profile

Statistics
| Branch: | Tag: | Revision:
Name Size
  doc_templates
  scope
  source
base_renderer.rb 930 Bytes
configuration.rb 3.42 KB
errors.rb 2.08 KB
safe_mode_renderer.rb 516 Bytes
scope.rb 68 Bytes
source.rb 69 Bytes
unsafe_mode_renderer.rb 445 Bytes

Latest revisions

# Date Author Comment
9c1b18ff 08/03/2021 09:27 AM Leos Stejskal

Fixes #33033 - shell_escape template macro

New template macro `shell_escape` using
Ruby's `Shellwords.shellescape` for safe shell strings.

Use `shell_escape` for user input variables
in registration templates (`global` & `host_init`)

4c4be749 07/28/2021 08:48 AM Lukas Zapletal

Fixes #33090 - load AIX OS attributes

dffe39af 07/23/2021 12:48 PM Evgeni Golov

Fixes #32540 - host_param_(true|false)? cleanup

let the `default_value` denote what we "read" by default from the host
(in the case the host doesn't have the param) and then compare it with
`true`/`false` (depending on the func) as done with the existing...

92eb6cee 07/19/2021 10:39 AM Ondřej Ezr

Fixes #31235 - drop Puppetclass models

Drops Puppetclass models and their usage.
Extracted in https://github.com/theforeman/foreman_puppet_enc/pull/81
Tests extracted in:
- hostgroup - https://github.com/theforeman/foreman_puppet_enc/pull/85

198040f6 07/16/2021 02:01 PM Leos Stejskal

Fixes #32918 - Host registration - Update packages

New parameter `update_packages` for update of
all packages on the host when registered

5051e374 06/16/2021 08:33 AM Dominik Matoulek

Fixes #28221 - Adding passing of template scope for snippet rendering

In current implementation templates can be much complex by snippet.
Reusable pieces of template code that should be in the same scope like
their templates but they are not. This PR tries to solve that.

055489b7 05/20/2021 06:29 PM Lukas Zapletal

Fixes #27604 - added Fedora|Redhat CoreOS and IM

b5935f9e 05/12/2021 10:29 PM Lukas Zapletal

Fixes #31407 - prevent spaces for snapshot test files

641c3f4a 05/07/2021 10:34 AM Lukáš Zapletal

Fixes #31370 - multi-host stub template snapshots (#8149)

Our snapshot template render test and generator only supports one host stub (ipv4 single NIC redhat OS). In order to test more ERB codepaths, we need a way to create snapshots against multiple host stubs (e.g. IPv6, dualstack, static IPv4 or IPv6, debian family). In order to do that, template metadata can be extended to define list of host stubs to create and test snapshots against....

e9a52589 04/27/2021 01:50 PM Oleh Fedorenko

Fixes #32394 - Use grub_pass macro instead of variable

The default Kickstart template uses obsolete @grub_pass variable
which are not being set anywhere. Maybe it's due to typo or else.
I suggest to use macro instead so it's possible to set the password
via host params and do not clone the template for this purpose only.

View revisions

Also available in: Atom