Skip to content

Commit

Permalink
chore: Follow redirects for sh.vector.dev
Browse files Browse the repository at this point in the history
New hosting uses an HTTP redirect rather than passing the content back transparently.

Signed-off-by: Jesse Szwedko <jesse.szwedko@datadoghq.com>
  • Loading branch information
jszwedko committed Oct 31, 2023
1 parent 1eb418b commit ce0e6bd
Show file tree
Hide file tree
Showing 7 changed files with 8 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ short: Vector installer
The Vector installer enables you to install Vector using a platform-agnostic installation script:

```shell
curl --proto '=https' --tlsv1.2 -sSf https://sh.vector.dev | bash
curl --proto '=https' --tlsv1.2 -sSfL https://sh.vector.dev | bash
```

## Management
Expand Down
2 changes: 1 addition & 1 deletion website/content/en/docs/setup/quickstart.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ We can install Vector using an installation script or Docker:
{{< tab title="Script" >}}

```shell
curl --proto '=https' --tlsv1.2 -sSf https://sh.vector.dev | bash
curl --proto '=https' --tlsv1.2 -sSfL https://sh.vector.dev | bash
```

{{< /tab >}}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ and create our first observability data pipeline so you can begin to see what Ve
Installing Vector is quick and easy. We can use this handy installation script:

```shell
curl --proto '=https' --tlsv1.2 -sSf https://sh.vector.dev | bash
curl --proto '=https' --tlsv1.2 -sSfL https://sh.vector.dev | bash
```

Or you can [choose your preferred installation method][docs.installation].
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ You **should not need to do anything**. If you are using a normal, recommended m
If you're provisioning Vector, the best way to make sure you get the most up to date stable version is to run this:

```bash title="provision_vector.sh"
curl --proto '=https' --tlsv1.2 -sSf https://sh.vector.dev | bash -s -- -y
curl --proto '=https' --tlsv1.2 -sSfL https://sh.vector.dev | bash -s -- -y
```

If you don't need the latest and greatest, **check your official distribution repository.** Some distributions, such as [NixOS][urls.nixos], have official Vector packages. You can also find Vector packages in the official [FreeBSD][urls.freebsd] repositories.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,6 @@ package metadata
administration: {
example_docker_install_commands: [#Command, ...#Command] & [{
title: "Docker example"
command: "RUN apk add --no-cache curl bash && \\ \n curl --proto '=https' --tlsv1.2 -sSf https://sh.vector.dev | bash -s -- -y --prefix /usr/local"
command: "RUN apk add --no-cache curl bash && \\ \n curl --proto '=https' --tlsv1.2 -sSfL https://sh.vector.dev | bash -s -- -y --prefix /usr/local"
}]
}
4 changes: 2 additions & 2 deletions website/cue/reference/administration/install_commands.cue
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,11 @@ administration: {
install_commands: [#Command, ...#Command] & [
{
title: "For humans"
command: "curl --proto '=https' --tlsv1.2 -sSf https://sh.vector.dev | bash"
command: "curl --proto '=https' --tlsv1.2 -sSfL https://sh.vector.dev | bash"
},
{
title: "For machines"
command: "curl --proto '=https' --tlsv1.2 -sSf https://sh.vector.dev | bash -s -- -y"
command: "curl --proto '=https' --tlsv1.2 -sSfL https://sh.vector.dev | bash -s -- -y"
},
]
}
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ administration: interfaces: vector_installer: {

role_implementations: [Name=string]: {
commands: {
install: "curl --proto '=https' --tlsv1.2 -sSf https://sh.vector.dev | bash"
install: "curl --proto '=https' --tlsv1.2 -sSfL https://sh.vector.dev | bash"
logs: null
reload: "killall -s SIGHUP vector"
restart: null
Expand Down

0 comments on commit ce0e6bd

Please sign in to comment.