Update pdk-templates for gitpod and codespaces support
[puppet-modules/puppetlabs-apt.git] / tasks / init.rb
index f8ca85e2f5d81126a49146e785622ba4551cb0b2..3cd20d49736f7017d601744e233b245db296cdf3 100755 (executable)
@@ -7,7 +7,7 @@ def apt_get(action)
   cmd = ['apt-get', action]
   cmd << '-y' if ['upgrade', 'dist-upgrade', 'autoremove'].include?(action)
   stdout, stderr, status = Open3.capture3(*cmd)
-  raise Puppet::Error, stderr if status != 0 # rubocop:disable GetText/DecorateFunctionMessage
+  raise Puppet::Error, stderr if status != 0
   { status: stdout.strip }
 end