Download step client deb file
This commit is contained in:
parent
aca8dd1b22
commit
49ff235bc4
|
@ -51,6 +51,18 @@ class cdn::ca(
|
||||||
content => file('cdn/ca/set-provisioner-pw'),
|
content => file('cdn/ca/set-provisioner-pw'),
|
||||||
}
|
}
|
||||||
|
|
||||||
|
file { '/opt/step-ca/init/deb':
|
||||||
|
ensure => directory,
|
||||||
|
owner => 'root',
|
||||||
|
group => 'root',
|
||||||
|
mode => '0755',
|
||||||
|
}
|
||||||
|
|
||||||
|
exec { 'curl -LO https://dl.smallstep.com/gh-release/cli/gh-release-header/v0.27.4/step-cli_0.27.4-1_amd64.deb':
|
||||||
|
cwd => '/opt/step-ca/init/deb',
|
||||||
|
creates => '/opt/step-ca/init/deb/step-cli_0.27.4-1_amd64.deb',
|
||||||
|
}
|
||||||
|
|
||||||
if $ca_secrets {
|
if $ca_secrets {
|
||||||
if $ca_secrets['key_password'] {
|
if $ca_secrets['key_password'] {
|
||||||
file { '/opt/step-ca/init/secrets/key-password':
|
file { '/opt/step-ca/init/secrets/key-password':
|
||||||
|
|
Loading…
Reference in a new issue