wget install fails - it requires curl to be installed
CandaceScharber opened this issue · comments
Candace Scharber commented
When I used the wget install command that is on the Install md file, the install failed because I didn't install Curl first. The salt state to install kubectl requires curl.
We need to remove the wget install option and add a note that they must install Curl (if not already installed).
[...]
{% set kubectl_snap_install = False %}
{% set kubectl_path = '/usr/local/bin/' %}
{% if kubectl_binary_install %}
{% set kubectl_prefix = 'https://storage.googleapis.com/kubernetes-release/release/' %}
{% set version = salt.cmd.run('curl -s https://storage.googleapis.com/kubernetes-release/release/stable.txt') %} <======================
{% if grains.os_family == 'MacOS' %}
{% set kubectl_version = version + '/bin/darwin/amd64/kubectl' %}
{% else %}
{% set kubectl_version = version + '/bin/linux/amd64/kubectl' %}
{% endif %}
[...]
John Scharber commented
Both methods are supported now