OSDN Git Service
(root)
/
metasearch
/
grid-chef-repo.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
improves the utility scripts.
[metasearch/grid-chef-repo.git]
/
cookbooks
/
concourse-ci
/
templates
/
default
/
opt
/
docker-compose
/
app
/
concourse
/
bin
/
concourse_import_ca
1
#!/bin/sh
2
3
<%
4
node['concourse-ci']['ssl_cert']['ca_names'].each {|ca_name|
5
-%>
6
if ! cat /etc/ca-certificates.conf | grep <%= ca_name %>; then
7
echo <%= ca_name %>.crt >> /etc/ca-certificates.conf
8
fi
9
<%
10
}
11
-%>
12
update-ca-certificates