Commit Graph

5892 Commits

Author SHA1 Message Date
Michael Schurter
3b4fe9a95b Fix typo in test 2016-11-09 13:16:56 -08:00
Michael Schurter
5fa84d5658 Add unit test for missing port helper func 2016-11-09 11:55:10 -08:00
Michael Schurter
1304ba8b2d Addresses are just addresses - no ports
Store address+port in an unexported field for ease-of-use
2016-11-09 11:49:55 -08:00
Michael Schurter
1893772f4b Enable dev mode to allow using localhost in tests 2016-11-08 16:35:11 -08:00
Michael Schurter
1e0b4d76e8 Fix test that fails now that advertise can't be localhost 2016-11-08 16:22:04 -08:00
Michael Schurter
4aed5ba1e2 Restore sync/atomic use for consistency 2016-11-08 16:21:52 -08:00
Michael Schurter
4f15cac3ca Normalize configs for agent tests 2016-11-08 16:13:09 -08:00
Michael Schurter
eb89fd2793 Fix int pointer formatting and server config test 2016-11-08 16:02:20 -08:00
Michael Schurter
5cc435ab3e Move config normalization into config.go to ease testing 2016-11-08 15:44:10 -08:00
Michael Schurter
9420e73e7e Match old error messages 2016-11-08 15:25:29 -08:00
Michael Schurter
581d6a5320 Handle missing ports in addresses 2016-11-08 13:44:41 -08:00
Michael Schurter
2c4b19f1a6 Refactor getAdvertise into a func 2016-11-08 13:06:56 -08:00
Michael Schurter
3dab50318e Failure to resolve advertise address isn't fatal 2016-11-08 11:17:22 -08:00
Michael Schurter
4e7587de17 Choose safer default advertise address
* -dev mode defaults bind & advertise to localhost
* Normal mode defaults bind to 0.0.0.0 & advertise to the resolved
  hostname. If the hostname resolves to localhost it will refuse to
  start and advertise must be manually set.
2016-11-08 11:17:16 -08:00
Diptanu Choudhury
819e04437c Merge pull request #1931 from hashicorp/rename-vault-config
Rename vault config
2016-11-06 10:14:25 -08:00
Diptanu Choudhury
54f98dae7b Fixed docs 2016-11-04 17:22:22 -07:00
Alex Dadgar
e64875f4cd Merge pull request #1941 from hashicorp/b-complete-transistion
Task state "dead" is terminal
2016-11-04 17:16:10 -07:00
Alex Dadgar
c5b7a08807 Test fix 2016-11-04 17:15:58 -07:00
Alex Dadgar
38680afa0b Merge pull request #1938 from hashicorp/b-docker-reattach
Fix Docker container creation and task runner updating
2016-11-04 17:14:40 -07:00
Alex Dadgar
392e7b609c More precise marking of dead 2016-11-04 17:11:07 -07:00
Michael Schurter
9676c9f753 Merge pull request #1940 from hashicorp/f-docker-userns-support
Add userns_mode docker config option
2016-11-04 16:59:21 -07:00
Diptanu Choudhury
220a499134 Merge pull request #1933 from hashicorp/disable-check-tls
Disable http checks if TLS is enabled
2016-11-04 16:58:45 -07:00
Alex Dadgar
ad8b5bc141 Task state "dead" is terminal 2016-11-04 16:57:24 -07:00
Michael Schurter
bf5e671fd0 Add changelog entry for userns_mode 2016-11-04 16:56:05 -07:00
Michael Schurter
9750b8c8f7 Add userns_mode docker config option
Fixes #1904
2016-11-04 16:53:56 -07:00
Diptanu Choudhury
561ca7ce7f Merge pull request #1937 from hashicorp/remove-timeout
Remove timeout
2016-11-04 16:06:34 -07:00
Alex Dadgar
ac1da5f4f6 Merge pull request #1939 from hashicorp/d-stop
Fixes to stop command
2016-11-04 15:25:40 -07:00
Alex Dadgar
e7cdd173a6 Fixes to stop command 2016-11-04 15:25:12 -07:00
Alex Dadgar
0ce8a21fe2 Fix tests 2016-11-04 15:10:18 -07:00
Diptanu Choudhury
a829e46c55 Remove timeout 2016-11-04 15:06:21 -07:00
Alex Dadgar
12c033ab81 Move the wait result to bottom of methods 2016-11-04 14:58:55 -07:00
Alex Dadgar
16d1fede7d Unique task 2016-11-04 14:53:37 -07:00
Alex Dadgar
55e7d6f7c6 Create container much more robust 2016-11-04 14:39:56 -07:00
Diptanu Choudhury
93cd6d5124 Removed disk from resources docs 2016-11-04 10:17:30 -07:00
Sean Chittenden
84162699f3 Update vendor for circonus-gometrics to fix a panic.
Submitted by: vendor, @maier
2016-11-04 09:42:24 -07:00
Seth Vargo
66ae703e7f Merge pull request #1934 from cabillman/encryption-docs
Escape hostname in agent encryption docs
2016-11-04 11:14:47 -04:00
Seth Vargo
58ab165e87 Use tt instead 2016-11-04 11:14:40 -04:00
Chad Billman
9e25fb044f Escape hostname in agent encryption docs 2016-11-04 08:41:05 -04:00
Diptanu Choudhury
53a8e45d32 Disable http checks if TLS is enabled 2016-11-03 17:33:58 -07:00
Diptanu Choudhury
3fa8086ab5 Fixed comment 2016-11-03 14:45:03 -07:00
Diptanu Choudhury
ac5f37cf68 Making AllowUnauthenticated true by default 2016-11-03 14:38:34 -07:00
Diptanu Choudhury
b76261a230 Changed docs 2016-11-03 14:26:27 -07:00
Diptanu Choudhury
bbf2101923 Renaming TLS related vault config 2016-11-03 14:24:39 -07:00
Seth Vargo
84594781a7 Merge pull request #1920 from hashicorp/sethvargo/agent_divorce
Separate agent configuration into its own pages
2016-11-02 19:31:41 -04:00
Seth Vargo
2fb5eb248d Remove debug rec 2016-11-02 19:29:38 -04:00
Seth Vargo
7d596ded20 Address feedback 2016-11-02 19:26:10 -04:00
Seth Vargo
c86a07d834 Separate agent configuration into its own pages
I apologize in advance for the rather long PR, but unfortunately there
is not an easy way to break this up into smaller chunks. This separates
the agent configuration into smaller, more consumable pieces just like
the job specification.
2016-11-02 18:30:00 -04:00
Seth Vargo
6cd6b5d7f6 Merge pull request #1923 from hashicorp/sethvargo/vault_up
Add Vault stanza everywhere
2016-11-02 18:29:39 -04:00
Seth Vargo
5ebf95eb73 Address feedback 2016-11-02 18:29:17 -04:00
Seth Vargo
4288d7d43b Add vault stanza everywhere 2016-11-02 18:26:53 -04:00