Skip to content

Commit

Permalink
Merge pull request #1204 from puppetlabs/PA-7092
Browse files Browse the repository at this point in the history
  • Loading branch information
malikparvez authored Nov 4, 2024
2 parents c72aa14 + 7006f95 commit 6deed06
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tasks/init.rb
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
def apt_get(action)
cmd = ['apt-get', action]
cmd << '-y' if ['upgrade', 'dist-upgrade', 'autoremove'].include?(action)
if ['upgrade', 'dist-upgrade'].include?(action)
if ['upgrade', 'dist-upgrade', 'autoremove'].include?(action)
ENV['DEBIAN_FRONTEND'] = 'noninteractive'
cmd << '-o'
cmd << 'Dpkg::Options="--force-confdef"'
Expand Down

0 comments on commit 6deed06

Please sign in to comment.