Make puppet-lint happy with indent

This commit is contained in:
Patrik Lundin 2024-10-08 13:36:21 +02:00
parent 49ff235bc4
commit 1cfbc3e908
Signed by: patlu
GPG key ID: A0A812BA2249F294

View file

@ -44,10 +44,10 @@ class cdn::ca(
}
file { '/opt/step-ca/init/scripts/set-provisioner-pw':
ensure => file,
owner => 'root',
group => 'root',
mode => '0755',
ensure => file,
owner => 'root',
group => 'root',
mode => '0755',
content => file('cdn/ca/set-provisioner-pw'),
}
@ -66,20 +66,20 @@ class cdn::ca(
if $ca_secrets {
if $ca_secrets['key_password'] {
file { '/opt/step-ca/init/secrets/key-password':
ensure => file,
owner => '1000',
group => '1000',
mode => '0640',
ensure => file,
owner => '1000',
group => '1000',
mode => '0640',
content => template('cdn/ca/key-password.erb'),
}
}
if $ca_secrets['provisioner_password'] {
file { '/opt/step-ca/init/secrets/provisioner-password':
ensure => file,
owner => '1000',
group => '1000',
mode => '0640',
ensure => file,
owner => '1000',
group => '1000',
mode => '0640',
content => template('cdn/ca/provisioner-password.erb'),
}
}