Project

General

Profile

« Previous | Next » 

Revision ee577e71

Added by Dominic Cleal over 9 years ago

refs #7227 - install passenger-common1.9.1 on Ubuntu 12.04

Add passenger_ruby_package parameter to control additional package resource
for installing the Passenger libs for the version of Ruby that will be used
to run Foreman. Begins to replace passenger_scl, which will be superseded by
this param and passenger_ruby.

View differences:

spec/classes/foreman_install_spec.rb
it { should contain_package('foreman-postgresql').with_ensure('present') }
it { should contain_package('foreman-postgresql').that_requires('Foreman::Install::Repos[foreman]') }
it { should contain_package('foreman-postgresql').that_requires('Class[foreman::install::repos::extra]') }
it { should contain_package('ruby193-rubygem-passenger-native') }
end
describe 'with version' do
......
:configure_epel_repo => false,
:configure_brightbox_repo => true,
})}
it { should contain_package('passenger-common1.9.1') }
end
end
end

Also available in: Unified diff