Merge pull request #38 from brettporter/scientific
Support Scientific Linux
This commit is contained in:
@@ -1,3 +1,8 @@
|
|||||||
|
1.0.2 ()
|
||||||
|
|
||||||
|
Brett Porter <brett@apache.org>
|
||||||
|
* Support Scientific Linux
|
||||||
|
|
||||||
1.0.1 (2013-08-01)
|
1.0.1 (2013-08-01)
|
||||||
|
|
||||||
Matthaus Owens <matthaus@puppetlabs.com>
|
Matthaus Owens <matthaus@puppetlabs.com>
|
||||||
|
|||||||
@@ -101,6 +101,12 @@ describe 'java', :type => :class do
|
|||||||
it { should contain_package('java').with_name('java-1.7.0-openjdk') }
|
it { should contain_package('java').with_name('java-1.7.0-openjdk') }
|
||||||
end
|
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
|
context 'select default for OpenSUSE 12.3' do
|
||||||
let(:facts) { {:osfamily => 'Suse', :operatingsystem => 'OpenSUSE', :operatingsystemrelease => '12.3'}}
|
let(:facts) { {:osfamily => 'Suse', :operatingsystem => 'OpenSUSE', :operatingsystemrelease => '12.3'}}
|
||||||
it { should contain_package('java').with_name('java-1_7_0-openjdk-devel')}
|
it { should contain_package('java').with_name('java-1_7_0-openjdk-devel')}
|
||||||
|
|||||||
Reference in New Issue
Block a user