• weixu's avatar
    Set the default value for DEBUG in cluster/saltbase/salt/generate-cert/make-ca-cert.sh · b3f3a806
    weixu authored
    In commit 07d7cfd3, people add ${DEBUG} == "true" in file
    cluster/saltbase/salt/generate-cert/make-ca-cert.sh
    But the default value for DEBUG is not set. In that commit, it set the value
    of DEBUG in cluster/ubuntu/util.sh where it call this script. When using this
    script in saltstack to bring up cluster in other cloud platforms, it will fail
    to generate the cert since we set set -o nounset in make-ca-cert.sh and var DEBUG
    does not set. Set a default value for DEBUG here will fix this problem.
    b3f3a806
make-ca-cert.sh 3.47 KB