Commit Graph

9941 Commits

Author SHA1 Message Date
Indradhanush Gupta
e18f03e401 Docs: Add command consul agent & fix nomad command
`sudo` is required to enable other drivers like rkt and java while the
`-dev` flag enables the agent to run in a standalone mode.
2018-01-22 13:23:42 +01:00
Michael Schurter
96e00a57eb Merge pull request #3718 from hashicorp/b-3713-fix-check-restart
Fix service.check_restart stanza propagation
2018-01-16 16:39:42 -08:00
Alex Dadgar
b8585fd0b6 Merge pull request #3751 from portworx/master
Docs:  update volume-driver, reflecting a supported driver
2018-01-16 15:58:54 -08:00
Alex Dadgar
a4672f70ad Merge pull request #3761 from hashicorp/d-consul
Actually show Consul config defaults
2018-01-16 15:56:15 -08:00
Alex Dadgar
b83869efc4 Update consul.html.md 2018-01-16 15:56:02 -08:00
Alex Dadgar
8d81a0f408 actually show defaults 2018-01-16 11:37:59 -08:00
Michael Schurter
53ae2f83d5 Merge pull request #3747 from shantanugadgil/patch-2
'drain' node is a POST rather than a GET
2018-01-12 16:46:31 -08:00
Jeff Silberman
59d360c7f4 Update volume-driver, reflecting a supported driver 2018-01-12 16:09:50 -08:00
Alex Dadgar
4c56501aa3 Test listener uses freeport instead of static ports 2018-01-12 15:10:26 -08:00
Alex Dadgar
47f90683fb Remove networking from basic resources 2018-01-12 14:33:42 -08:00
Michael Schurter
6da2dcb4ef Merge pull request #3745 from hashicorp/cv-fix-typo-priviledge
Found more priviledge.
2018-01-12 10:16:34 -08:00
Shantanu Gadgil
6f038c8d1d 'drain' node is a POST rather than a GET
'drain' node is a POST rather than a GET
2018-01-12 23:35:49 +05:30
Charlie Voiselle
45c3d8d5a1 Found more priviledge.
priviledge -> privilege
2018-01-12 09:44:53 -05:00
Charlie Voiselle
77903faec7 Merge pull request #3744 from filipochnik/remove-docs-duplicate
Remove duplicate docs entry for docker privileged option
2018-01-12 09:37:16 -05:00
Filip Ochnik
cd5df24fca Remove duplicate docs entry for docker privileged option 2018-01-12 14:29:31 +01:00
Michael Schurter
c566bfb70f Merge pull request #3742 from hashicorp/vagrant-updates
Update Consul/rkt/Vault in Vagrant
2018-01-11 14:47:55 -08:00
Alex Dadgar
2c58fb0f32 Build all branches on travis 2018-01-11 13:39:04 -08:00
Michael Schurter
c0bd0cea1a Merge pull request #3735 from hashicorp/docs-tls-demo
Add demo TLS certificates and configs
2018-01-10 15:29:45 -08:00
Alex Dadgar
ffb4c57a8f changelog 2018-01-10 11:48:11 -08:00
Alex Dadgar
01b1ab4697 Merge pull request #3727 from filipochnik/fix-gh-2832
Recognize renewing non-renewable Vault lease as fatal
2018-01-10 11:47:10 -08:00
Alex Dadgar
0256d11c55 Merge pull request #3733 from hashicorp/d-merge-community-and-resources
Merge Community and Resources pages
2018-01-10 11:42:02 -08:00
Alex Dadgar
ae8fd21999 Merge pull request #3734 from hashicorp/f-update-terraform-to-0.7.1
Update Terraform configs to use latest versions of Consul, Vault and Nomad
2018-01-10 11:40:40 -08:00
Michael Schurter
c0ad488682 Merge pull request #3736 from ronalexssen/master
remove duplicate typo
2018-01-09 16:00:15 -08:00
Michael Schurter
7466e12a65 Update Consul/rkt/Vault in Vagrant
Needed to update Vault for #3334
2018-01-09 15:57:42 -08:00
Michael Schurter
870c92e723 Merge pull request #3722 from hashicorp/b-3697
Fix HTTP code for permission denied errors
2018-01-09 15:49:37 -08:00
Michael Schurter
ae61f7308d Fix HTTP code for permission denied errors
Fixes #3697

The existing code and test case only covered the leader behavior. When
querying against non-leaders the error has an "rpc error: " prefix.

To provide consistency in HTTP error response I also strip the "rpc
error: " prefix for 403 responses as they offer no beneficial additional
information (and in theory disclose a tiny bit of data to unauthorized
users, but it would be a pretty weird bit of data to use in a malicious
way).
2018-01-09 15:25:53 -08:00
Ron Alexssen
09de90514e remove duplicate typo 2018-01-09 15:21:30 -08:00
Michael Schurter
b658ac35ae Revert "Remove mention of check_restart on service"
This reverts commit 758b98685b.
2018-01-09 15:18:34 -08:00
Michael Schurter
756305f029 Revert "Missed header mention of server.check_restart"
This reverts commit 8295f81ddd.
2018-01-09 15:18:22 -08:00
Michael Schurter
9b9a4af182 Invert and test CheckRestart merge logic 2018-01-09 15:17:07 -08:00
Michael Schurter
566abcbe23 Move changelog entry from bug fix to feature
It was never really implemented to begin with
2018-01-09 15:17:07 -08:00
Michael Schurter
304a037e39 Fix service.check_restart stanza propagation
There was a bug in jobspec parsing, a bug in CheckRestart merging, and a
bug in CheckRestart canonicalization. All are now tested.
2018-01-09 15:15:36 -08:00
Rob Genova
7dea8c4d52 Update AWS scripts and README to reflect latest, pre-built AMI 2018-01-09 22:35:58 +00:00
Michael Schurter
727373da6d Merge pull request #3715 from hashicorp/docs-3685-changelog
Add #3685 to changelog
2018-01-09 14:02:37 -08:00
Michael Schurter
117d3b5239 Add demo TLS certificates and configs
As well as a brief readme and makefile for generating the certificates.
2018-01-09 10:14:42 -08:00
Michael Schurter
7e7c799a31 Merge pull request #3723 from hashicorp/b-3702-chown-dirs
chown dirs when migrating ephemeral_disk data
2018-01-09 09:27:26 -08:00
Michael Schurter
34d3bba8eb Merge pull request #3730 from hashicorp/cv-typo-privilege
Fix typo
2018-01-08 17:32:02 -08:00
Michael Schurter
58f7623182 Test streamed directory ownership 2018-01-08 16:00:07 -08:00
Michael Schurter
a010d4baa8 chown dirs when migrating ephemeral_disk data
Fixes #3702

Added missing chown call and made it conditional on running as root and
not on Windows as we do with files.
2018-01-08 15:31:12 -08:00
Rob Genova
67e3e19666 Use latest versions of Consul, Vault and Nomad 2018-01-08 22:44:02 +00:00
Michael Schurter
05b339a301 Merge pull request #3728 from hashicorp/b-3701-fetch-tls
Include credentials in fetch requests
2018-01-08 14:00:53 -08:00
Rob Genova
2f873299b4 Add new blog post 2018-01-08 21:42:47 +00:00
Alex Dadgar
89a87c8398 Merge pull request #3729 from hashicorp/f-test-log-2
Logger backed by *testing.T
2018-01-08 13:41:58 -08:00
Michael Schurter
98c72e953b Improve naming and docs 2018-01-08 13:36:07 -08:00
Rob Genova
d30d89b898 Add redirect from Community page to Resources page 2018-01-08 21:34:26 +00:00
Rob Genova
de3f7b4da8 Remove Community links from header and footer 2018-01-08 21:33:55 +00:00
Rob Genova
12c6a94590 Merge Community page content into Resources page 2018-01-08 21:33:26 +00:00
Charlie Voiselle
8d6bd6dca4 fix typo
Priviledge -> privilege
2018-01-08 15:56:07 -05:00
Michael Schurter
4eaa6700fa Logger backed by *testing.T
For capturing log output in tests and only displaying them on failure.

Pulled out of #3241
2018-01-08 12:53:58 -08:00
Michael Schurter
4c859dc0aa Include credentials in fetch requests
Fixes #3701

Relevant spec section:
https://fetch.spec.whatwg.org/#concept-request-credentials-mode
2018-01-08 12:18:03 -08:00