Skip to content

Commit

Permalink
lcg-CA obsoleted by ca-policy-egi-core
Browse files Browse the repository at this point in the history
Technically lcg-CA is now obsoleted by ca-policy-egi-core
so moving to that. Seems to actucally be the same CA set
so not imediatly worried anyway.

There are some details here:

* https://wiki.egi.eu/wiki/EGI_IGTF_Release
* http://repository.egi.eu/sw/production/cas/1/current/README.txt
  • Loading branch information
traylenator committed May 15, 2018
1 parent eb1a8fc commit 7a1d339
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
2 changes: 1 addition & 1 deletion manifests/params.pp
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
warning('fetchcrl - fetchcrl_capkgs is deprecated, use fetchcrl::capkgs instead')
$capkgs = $_capkgs
} else {
$capkgs = ['lcg-CA']
$capkgs = ['ca-policy-egi-core']
}
$_carepo = hiera('fetchcrl_carepo',false)
if $_carepo {
Expand Down
9 changes: 8 additions & 1 deletion spec/classes/init_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,15 @@
{ osfamily: 'RedHat',
operatingsystemmajrelease: '6' }
end
let(:params) { { cache_control_request: '1234' } }
let(:params) do
{
cache_control_request: '1234',
capkgs: %w[abc def]
}
end

it { is_expected.to contain_file('/etc/fetch-crl.conf').with_content(%r{^cache_control_request = 1234$}) }
it { is_expected.to contain_package('abc').with_ensure('present') }
it { is_expected.to contain_package('def').with_ensure('present') }
end
end

0 comments on commit 7a1d339

Please sign in to comment.