X-Git-Url: https://review.fuel-infra.org/gitweb?a=blobdiff_plain;f=tasks%2Finit.rb;h=b4cb0dc7622744be6334972eeb720ae1d89faf08;hb=d6069a619ce1b30f19014932f81e83f445c846e6;hp=ebcf72adddee590f91516a756b07aadeccb16857;hpb=28c045c8df113eee86359a188a5a18a5317de3e1;p=puppet-modules%2Fpuppetlabs-apt.git diff --git a/tasks/init.rb b/tasks/init.rb index ebcf72a..b4cb0dc 100755 --- a/tasks/init.rb +++ b/tasks/init.rb @@ -7,7 +7,7 @@ def apt_get(action) cmd = ['apt-get', action] cmd << '-y' if action == 'upgrade' stdout, stderr, status = Open3.capture3(*cmd) - raise Puppet::Error, stderr if status != 0 + raise Puppet::Error, stderr if status != 0 # rubocop:disable GetText/DecorateFunctionMessage { status: stdout.strip } end