diff --git a/CHANGELOG b/CHANGELOG index 119194d..42b6a39 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,3 +1,8 @@ +1.0.2 () + +Brett Porter +* Support Scientific Linux + 1.0.1 (2013-08-01) Matthaus Owens diff --git a/spec/classes/java_spec.rb b/spec/classes/java_spec.rb index d77e657..f057783 100644 --- a/spec/classes/java_spec.rb +++ b/spec/classes/java_spec.rb @@ -101,6 +101,12 @@ describe 'java', :type => :class do it { should contain_package('java').with_name('java-1.7.0-openjdk') } end + context 'select passed value for Scientific Linux' do + let(:facts) { {:osfamily => 'RedHat', :operatingsystem => 'Scientific', :operatingsystemrelease => '6.4'} } + let(:params) { { 'distribution' => 'jre' } } + it { should contain_package('java').with_name('java-1.7.0-openjdk') } + 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')}