Skip to content

Commit

Permalink
Refs #37913 - Update repository metadata for Debian first
Browse files Browse the repository at this point in the history
Co-authored-by: Bernhard Suttner <[email protected]>
  • Loading branch information
sbernhard committed Oct 24, 2024
1 parent 17f6c03 commit 09a7b31
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,11 @@ exit_and_cancel_build() {
set +e
trap 'exit_and_cancel_build' ERR

<% if plugin_present?('katello') && @host.operatingsystem.family == 'Debian' -%>
export DEBIAN_FRONTEND=noninteractive
apt-get -y update
<% end -%>

<% if !host_param_true?('skip-puppet-setup') && (host_puppet_server.present? || host_param_true?('force-puppet')) -%>
<%= snippet 'puppetlabs_repo' %>
<%= snippet 'puppet_setup' %>
Expand Down

0 comments on commit 09a7b31

Please sign in to comment.