Add support for OpenSUSE

This commit is contained in:
Robert Munteanu
2013-06-10 17:44:27 +03:00
parent cde7046e99
commit 3ac6dd5966
2 changed files with 16 additions and 2 deletions

View File

@@ -28,4 +28,9 @@ describe 'java', :type => :class do
it { should contain_package('java').with_name('java-1.6.0-openjdk-devel') }
end
context 'select default for OpenSUSE 12.3' do
let(:facts) { {:osfamily => 'Suse', :operatingsystem => 'OpenSUSE', :operatingsystemrelease => '12.3'}}
it { should contain_package('java').with_name('java-1_7_0-openjdk-devel')}
end
end