Merge "Fixes incorrect ownership of ODL TLS cert/key"
This commit is contained in:
commit
4738c61b15
@ -62,13 +62,9 @@ class tripleo::certmonger::opendaylight (
|
|||||||
require => Class['::certmonger'],
|
require => Class['::certmonger'],
|
||||||
}
|
}
|
||||||
file { $service_certificate :
|
file { $service_certificate :
|
||||||
owner => 'odl',
|
|
||||||
group => 'odl',
|
|
||||||
require => Certmonger_certificate['opendaylight']
|
require => Certmonger_certificate['opendaylight']
|
||||||
}
|
}
|
||||||
file { $service_key :
|
file { $service_key :
|
||||||
owner => 'odl',
|
|
||||||
group => 'odl',
|
|
||||||
require => Certmonger_certificate['opendaylight']
|
require => Certmonger_certificate['opendaylight']
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -0,0 +1,5 @@
|
|||||||
|
---
|
||||||
|
fixes:
|
||||||
|
- |
|
||||||
|
Fixes a bug where TLS certificates for ODL could not be generated correctly
|
||||||
|
for deployment due to wrong owner/group applied to the files.
|
@ -47,13 +47,9 @@ describe 'tripleo::certmonger::opendaylight' do
|
|||||||
:wait => true,
|
:wait => true,
|
||||||
)
|
)
|
||||||
is_expected.to contain_file(params[:service_certificate]).with(
|
is_expected.to contain_file(params[:service_certificate]).with(
|
||||||
:owner => 'odl',
|
|
||||||
:group => 'odl',
|
|
||||||
:require => 'Certmonger_certificate[opendaylight]'
|
:require => 'Certmonger_certificate[opendaylight]'
|
||||||
)
|
)
|
||||||
is_expected.to contain_file(params[:service_key]).with(
|
is_expected.to contain_file(params[:service_key]).with(
|
||||||
:owner => 'odl',
|
|
||||||
:group => 'odl',
|
|
||||||
:require => 'Certmonger_certificate[opendaylight]'
|
:require => 'Certmonger_certificate[opendaylight]'
|
||||||
)
|
)
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user