I am trying to install Caddy via the installation bash script with the
The installer bash script is run with Salt. The exact command that is run is:
curl https://getcaddy.com | bash -s personal tls.dns.digitalocean
When the installer is run via Salt I get the following error:
Downloading Caddy for linux/amd64 (personal license)... Download verification OK Extracting... Putting caddy in /usr/local/bin (may require password) Aborted, error 127 in command: $caddy_bin -version
However if I run the installer in my command line manually it succeeds.
It looks like the
$caddy_bin variable isn’t being substituted for its value.
caddy binary has some weird permissions. The install script was run by
root. But the
caddy binary is owned by
user-a and in group