Skip to content

Commit

Permalink
Move the empty line to _header.erb
Browse files Browse the repository at this point in the history
  • Loading branch information
ekohl committed Nov 14, 2023
1 parent fdc9780 commit 56a6e3a
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 2 deletions.
1 change: 1 addition & 0 deletions templates/_header.erb
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
### File managed with puppet ###
## Module: '<%= scope['module_name'] %>'

1 change: 0 additions & 1 deletion templates/database.yml.epp
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
| -%>
---
<%= template('foreman/_header.erb') %>

<% if $managed { -%>
# Database is managed by foreman::database::postgresql
<% } -%>
Expand Down
1 change: 0 additions & 1 deletion templates/settings.yaml.erb
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
ERB.new(File.read(File.expand_path("_header.erb",File.dirname(file))), nil, nil, "@header").result(binding) -%>
---
<%= @header -%>

:unattended: <%= scope.lookupvar("foreman::unattended") %>
<% unless [nil, :undefined, :undef].include?(scope.lookupvar("foreman::unattended_url")) -%>
:unattended_url: <%= scope.lookupvar("foreman::unattended_url") %>
Expand Down

0 comments on commit 56a6e3a

Please sign in to comment.