Project

General

Profile

« Previous | Next » 

Revision 24b477a1

Added by Justin Sherrill over 10 years ago

Update puppet modules

View differences:

modules/foreman/spec/defines/foreman_install_repos_apt_spec.rb
it 'should add the stable repo' do
should contain_file('/etc/apt/sources.list.d/foreman.list') \
.with_content("deb http://deb.theforeman.org/ squeeze stable\n")
.with_content("deb http://deb.theforeman.org/ squeeze stable\ndeb http://deb.theforeman.org/ plugins main\n")
end
end
......
it 'should add the rc repo' do
should contain_file('/etc/apt/sources.list.d/foreman.list') \
.with_content("deb http://deb.theforeman.org/ squeeze rc\n")
.with_content("deb http://deb.theforeman.org/ squeeze rc\ndeb http://deb.theforeman.org/ plugins main\n")
end
end
......
it 'should add the nightly repo' do
should contain_file('/etc/apt/sources.list.d/foreman.list') \
.with_content("deb http://deb.theforeman.org/ squeeze nightly\n")
.with_content("deb http://deb.theforeman.org/ squeeze nightly\ndeb http://deb.theforeman.org/ plugins main\n")
end
end

Also available in: Unified diff