mirror of https://github.com/zulip/zulip.git
puppet: Only install ksplice uptrack if there is an access key.
This commit is contained in:
parent
86c883ceb0
commit
a5b29398fc
|
@ -1,11 +1,12 @@
|
|||
class zulip_ops::ksplice_uptrack {
|
||||
$ksplice_access_key = zulipsecret('secrets', 'ksplice_access_key', '')
|
||||
if $ksplice_access_key != '' {
|
||||
file { '/etc/uptrack':
|
||||
ensure => 'directory',
|
||||
owner => 'root',
|
||||
group => 'adm',
|
||||
mode => '0750',
|
||||
}
|
||||
$ksplice_access_key = zulipsecret('secrets', 'ksplice_access_key', '')
|
||||
file { '/etc/uptrack/uptrack.conf':
|
||||
ensure => file,
|
||||
owner => 'root',
|
||||
|
@ -25,3 +26,4 @@ class zulip_ops::ksplice_uptrack {
|
|||
],
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue