OSDN Git Service

improves the utility scripts.
[metasearch/grid-chef-repo.git] / cookbooks / concourse-ci / templates / default / opt / docker-compose / app / concourse / bin / concourse_import_ca
index 6466110..671eab1 100644 (file)
@@ -1,12 +1,12 @@
-#!/bin/sh\r
-\r
-<%\r
-node['concourse-ci']['ssl_cert']['ca_names'].each {|ca_name|\r
--%>\r
-if ! cat /etc/ca-certificates.conf | grep <%= ca_name %>; then\r
-  echo <%= ca_name %>.crt >> /etc/ca-certificates.conf\r
-fi\r
-<%\r
-}\r
--%>\r
-update-ca-certificates\r
+#!/bin/sh
+
+<%
+node['concourse-ci']['ssl_cert']['ca_names'].each {|ca_name|
+-%>
+if ! cat /etc/ca-certificates.conf | grep <%= ca_name %>; then
+  echo <%= ca_name %>.crt >> /etc/ca-certificates.conf
+fi
+<%
+}
+-%>
+update-ca-certificates