Remove empty package test and validation

an empty variable is apparently the same thing as undef, which causes
the packages to be selected as usual.
This commit is contained in:
Hunter Haugen
2014-08-13 13:11:28 -07:00
parent 230ab22adf
commit dcdc96187d
2 changed files with 0 additions and 27 deletions

View File

@@ -173,28 +173,4 @@ describe 'failure cases' do
apply_manifest(pp, :expect_failures => true)
end
# C14716
it 'should fail to install java with a blank package' do
pp = <<-EOS
class { 'java':
package => '',
}
EOS
apply_manifest(pp, :expect_failures => true)
end
context 'non-debian systems', :if => fact('osfamily') != 'Debian' do
# C14717
it 'should fail to install java with a blank package' do
pp = <<-EOS
class { 'java':
package => '',
}
EOS
apply_manifest(pp, :expect_failures => true)
end
end
end