Merge "Fix typo in SSL file resource" into stable/wallaby
This commit is contained in:
commit
c13fd723ca
|
@ -215,7 +215,7 @@ class tripleo::profile::base::metrics::qdr (
|
||||||
$final_ssl_profiles = $prep_ssl_profiles.reduce( [] ) |$memo, $prf| {
|
$final_ssl_profiles = $prep_ssl_profiles.reduce( [] ) |$memo, $prf| {
|
||||||
if has_key($prf, 'caCertFileContent') {
|
if has_key($prf, 'caCertFileContent') {
|
||||||
file { $prf['caCertFile']:
|
file { $prf['caCertFile']:
|
||||||
ensure => exists,
|
ensure => present,
|
||||||
content => $prf['caCertFileContent'],
|
content => $prf['caCertFileContent'],
|
||||||
mode => '0600',
|
mode => '0600',
|
||||||
require => File[$ssl_cert_dir]
|
require => File[$ssl_cert_dir]
|
||||||
|
|
|
@ -210,12 +210,12 @@ describe 'tripleo::profile::base::metrics::qdr' do
|
||||||
:mode => '0700'
|
:mode => '0700'
|
||||||
)
|
)
|
||||||
is_expected.to contain_file('/tmp/certs/CA_wubba.pem').with(
|
is_expected.to contain_file('/tmp/certs/CA_wubba.pem').with(
|
||||||
:ensure => 'exists',
|
:ensure => 'present',
|
||||||
:content => 'ca_wubba',
|
:content => 'ca_wubba',
|
||||||
:mode => '0600'
|
:mode => '0600'
|
||||||
)
|
)
|
||||||
is_expected.to contain_file('/tmp/certs/CA_lubba.pem').with(
|
is_expected.to contain_file('/tmp/certs/CA_lubba.pem').with(
|
||||||
:ensure => 'exists',
|
:ensure => 'present',
|
||||||
:content => 'ca_lubba',
|
:content => 'ca_lubba',
|
||||||
:mode => '0600'
|
:mode => '0600'
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in New Issue