gravitational / teleport-plugins

Set of plugins for Teleport
Apache License 2.0
82 stars 81 forks source link

Slack Access binaries #229

Closed inertial-frame closed 3 years ago

inertial-frame commented 3 years ago

I'm walking through the documentation and have been encountering the following issues when trying to curl and/or download the Slack Access binaries:

Screen Shot 2021-05-04 at 5 20 54 PM

Screen Shot 2021-05-04 at 5 21 27 PM

I'm following the current step here: https://goteleport.com/docs/enterprise/workflow/ssh-approval-slack/#installing-the-teleport-slack-plugin - what am I missing here? Is there a specific version we should be recommending?

I'm able to complete the steps via the make option.

Thanks!

inertial-frame commented 3 years ago

Forgot to add the raw documentation:

  $ curl -L https://get.gravitational.com/teleport-access-slack-v(=teleport.version=)-linux-amd64-bin.tar.gz
  $ tar -xzf teleport-access-slack-v(=teleport.version=)-linux-amd64-bin.tar.gz
  $ cd teleport-access-slack
  $ ./install

In other words, we are passing in the teleport version.

I've tried 6.1.0 and 6.1.1 corresponding to the https://github.com/gravitational/teleport-plugins/tags - if I truncate the get.gravitational path to teleport-slack-v6.1.1 I get a 404.

inertial-frame commented 3 years ago

Note - I've temporarily removed this install path in the upcoming 6.2 docs.

inertial-frame commented 3 years ago

I am no longer getting the error above using curl - also @stevenGravy pointed out that the other articles use wget - and wget works correctly!

wget https://get.gravitational.com/teleport-access-slack-v6.1.0-linux-amd64-bin.tar.gz

Also, the original command will work with a valid -o flag which was omitted

curl -L https://get.gravitational.com/teleport-access-slack-v6.2.0-linux-amd64-bin.tar.gz -o teleport-access-slack-v6.2.0-linux-amd64-bin.tar.gz

We should still make this consistent with the other articles though.

webvictim commented 3 years ago

You can also curl -LO... so you don't have to provide an output filename.