Project

General

Profile

« Previous | Next » 

Revision 677a47e7

Added by Stephen Benjamin almost 6 years ago

fixes #24210 - certs group must be overridable (#204)

For Katello, we override the certs ownership so Foreman can read it.
This is required for WebVNC: the foreman user launches websockify
using the certificate.

View differences:

spec/classes/certs_apache_spec.rb
describe 'with default parameters' do
it { should compile.with_all_deps }
end
describe "with group overridden" do
let :pre_condition do
"class {'certs': group => 'foreman',}"
end
it { should compile.with_all_deps }
it do
is_expected.to contain_certs__keypair('apache')
.with_key_group('foreman')
end
end
end

Also available in: Unified diff