Fix puppet-lint warnings

Change-Id: I118ea3c33395f0ca75f38413e9be375b3e6e3726
This commit is contained in:
Luca Miccini 2020-06-26 10:00:31 +02:00
parent 5de64973b0
commit 8a02f5b441
4 changed files with 14 additions and 10 deletions

View File

@ -107,8 +107,8 @@ class tripleo::certmonger::ca::crl (
creates => $fetched_crl,
tries => 5,
try_sleep => 5,
} ~>
file {'tripleo-ca-crl-file':
}
~> file {'tripleo-ca-crl-file':
group => 'root',
mode => '0644',
owner => 'root',

View File

@ -23,6 +23,10 @@
# for more details.
# Defaults to hiera('step')
#
# [*bootstrap_node*]
# (Optional) The hostname of the node responsible for bootstrapping tasks
# Defaults to hiera('nova_api_short_bootstrap_node_name')
#
class tripleo::profile::base::nova::conductor (
$bootstrap_node = hiera('nova_api_short_bootstrap_node_name', undef),
$step = Integer(hiera('step')),

View File

@ -23,12 +23,12 @@ class tripleo::profile::base::tuned (
owner => 'root',
group => 'root',
mode => '0755',
} ->
file { "/etc/tuned/${profile}/tuned.conf":
before => Exec['tuned-adm'],
}
-> file { "/etc/tuned/${profile}/tuned.conf":
ensure => present,
owner => 'root',
group => 'root',
before => Exec['tuned-adm'],
owner => 'root',
group => 'root',
mode => '0644',
content => $custom_profile,
}

View File

@ -151,9 +151,9 @@ class tripleo::ui (
fallbackresource => '/index.html',
proxy_pass => [
{
'path' => '/zaqar',
'url' => $endpoint_proxy_zaqar,
'params' => { 'disablereuse' => 'On' }
'path' => '/zaqar',
'url' => $endpoint_proxy_zaqar,
'params' => { 'disablereuse' => 'On' }
},
{
'path' => '/keystone',