Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use EPP instead of ERB for some templates #962

Merged
merged 1 commit into from
Jul 9, 2021
Merged

Use EPP instead of ERB for some templates #962

merged 1 commit into from
Jul 9, 2021

Conversation

cocker-cc
Copy link
Contributor

As a Preparation for making this Module "Sensitive"-aware, we prefer to
use EPP instead of ERB in such Situations, where "Sensitive" could come
into Play, as EPP is able to handle Data of Type Sensitive natively.

Copy link
Member

@ekohl ekohl left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Some inline suggestions for improvements. While this doesn't convert every file, I'm actually content with this as a start.

templates/hammer_root.yml.epp Outdated Show resolved Hide resolved
manifests/plugin/supervisory_authority.pp Outdated Show resolved Hide resolved
@ekohl
Copy link
Member

ekohl commented Jun 25, 2021

I decided to push #964 which is what I meant. I also left a comment where I think we should unwrap it.

@ekohl
Copy link
Member

ekohl commented Jul 6, 2021

I've merged #964 so would you mind rebasing to resolve the conflict?

- As a Preparation for making this Module "Sensitive"-aware, we prefer
  to use EPP instead of ERB in such Situations, where "Sensitive" could
  come into Play, as EPP is able to handle Data of Type Sensitive
  natively.
@cocker-cc
Copy link
Contributor Author

I've merged #964 so would you mind rebasing to resolve the conflict?

Done.

Copy link
Member

@ekohl ekohl left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'll let the tests complete, but otherwise 👍

@ekohl
Copy link
Member

ekohl commented Jul 9, 2021

And those tests are green. Thanks!

@ekohl ekohl changed the title Use EPP instead of ERB Use EPP instead of ERB for some templates Jul 9, 2021
@ekohl ekohl merged commit 5dfe8aa into theforeman:master Jul 9, 2021
@cocker-cc cocker-cc deleted the Use_EPP_instead_of_ERB branch July 11, 2021 10:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants