Merge pull request #96 from mhaskel/wheezy_test_fix
Acceptance test fix for wheezy
This commit is contained in:
@@ -35,7 +35,14 @@ describe "installing java", :unless => UNSUPPORTED_PLATFORMS.include?(fact('osfa
|
|||||||
}
|
}
|
||||||
EOS
|
EOS
|
||||||
|
|
||||||
|
# With the version of java that ships with pe on debian wheezy, update-alternatives
|
||||||
|
# throws an error on the first run due to missing alternative for policytool. It still
|
||||||
|
# updates the alternatives for java
|
||||||
|
if fact('operatingsystem') == 'Debian' and fact('lsbdistcodename') == 'wheezy'
|
||||||
|
apply_manifest(pp)
|
||||||
|
else
|
||||||
apply_manifest(pp, :catch_failures => true)
|
apply_manifest(pp, :catch_failures => true)
|
||||||
|
end
|
||||||
apply_manifest(pp, :catch_changes => true)
|
apply_manifest(pp, :catch_changes => true)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user