Merge pull request #336 from mhaskel/fix_acceptance_tests
Debian seems to have hanging apt-get and/or dpkg processes, so kill
This commit is contained in:
commit
a68eca58a6
1 changed files with 2 additions and 2 deletions
|
@ -10,8 +10,8 @@ describe 'apt::unattended_upgrades class', :unless => UNSUPPORTED_PLATFORMS.incl
|
||||||
|
|
||||||
# Attempted workaround for problems seen on debian with
|
# Attempted workaround for problems seen on debian with
|
||||||
# something holding the package database open.
|
# something holding the package database open.
|
||||||
#shell('killall -9 apt-get')
|
shell('killall -9 apt-get', { :acceptable_exit_codes => [0,1] })
|
||||||
#shell('killall -9 dpkg')
|
shell('killall -9 dpkg', { :acceptable_exit_codes => [0,1] })
|
||||||
apply_manifest(pp, :catch_failures => true)
|
apply_manifest(pp, :catch_failures => true)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue