Commit graph

5890 commits

Author SHA1 Message Date
Michael Schurter a75e5b5803 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 23de99b1df Enable dev mode to allow using localhost in tests 2016-11-08 16:35:11 -08:00
Michael Schurter f1120e4de0 Fix test that fails now that advertise can't be localhost 2016-11-08 16:22:04 -08:00
Michael Schurter 290f71f62e Restore sync/atomic use for consistency 2016-11-08 16:21:52 -08:00
Michael Schurter 293c596411 Normalize configs for agent tests 2016-11-08 16:13:09 -08:00
Michael Schurter 6d83a192cf Fix int pointer formatting and server config test 2016-11-08 16:02:20 -08:00
Michael Schurter 4235d65011 Move config normalization into config.go to ease testing 2016-11-08 15:44:10 -08:00
Michael Schurter 1e3a2ae04d Match old error messages 2016-11-08 15:25:29 -08:00
Michael Schurter ad07eef9ab Handle missing ports in addresses 2016-11-08 13:44:41 -08:00
Michael Schurter 2960380055 Refactor getAdvertise into a func 2016-11-08 13:06:56 -08:00
Michael Schurter fbcc0ddbf5 Failure to resolve advertise address isn't fatal 2016-11-08 11:17:22 -08:00
Michael Schurter c735589f41 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 15f085a4d7 Merge pull request #1931 from hashicorp/rename-vault-config
Rename vault config
2016-11-06 10:14:25 -08:00
Diptanu Choudhury d1345b9294 Fixed docs 2016-11-04 17:22:22 -07:00
Alex Dadgar 960424f086 Merge pull request #1941 from hashicorp/b-complete-transistion
Task state "dead" is terminal
2016-11-04 17:16:10 -07:00
Alex Dadgar 3643534531 Test fix 2016-11-04 17:15:58 -07:00
Alex Dadgar a9e9b61216 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 e6465e138b More precise marking of dead 2016-11-04 17:11:07 -07:00
Michael Schurter 9b8a95e601 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 b8415ccc50 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 0fb7742c3c Task state "dead" is terminal 2016-11-04 16:57:24 -07:00
Michael Schurter bbf87fb2ba Add changelog entry for userns_mode 2016-11-04 16:56:05 -07:00
Michael Schurter b1a01a9a0f Add userns_mode docker config option
Fixes #1904
2016-11-04 16:53:56 -07:00
Diptanu Choudhury c6e0377610 Merge pull request #1937 from hashicorp/remove-timeout
Remove timeout
2016-11-04 16:06:34 -07:00
Alex Dadgar 4963151b2e Merge pull request #1939 from hashicorp/d-stop
Fixes to stop command
2016-11-04 15:25:40 -07:00
Alex Dadgar 647945089e Fixes to stop command 2016-11-04 15:25:12 -07:00
Alex Dadgar 8b7adb20e9 Fix tests 2016-11-04 15:10:18 -07:00
Diptanu Choudhury c44faf0e5e Remove timeout 2016-11-04 15:06:21 -07:00
Alex Dadgar 0cbd0188b1 Move the wait result to bottom of methods 2016-11-04 14:58:55 -07:00
Alex Dadgar 4e8d39d674 Unique task 2016-11-04 14:53:37 -07:00
Alex Dadgar 4741a4b129 Create container much more robust 2016-11-04 14:39:56 -07:00
Diptanu Choudhury 06bc740371 Removed disk from resources docs 2016-11-04 10:17:30 -07:00
Sean Chittenden 11e3fb11eb
Update vendor for circonus-gometrics to fix a panic.
Submitted by: vendor, @maier
2016-11-04 09:42:24 -07:00
Seth Vargo a0e29a0009 Merge pull request #1934 from cabillman/encryption-docs
Escape hostname in agent encryption docs
2016-11-04 11:14:47 -04:00
Seth Vargo 773e10fcfc Use tt instead 2016-11-04 11:14:40 -04:00
Chad Billman 62ae27554a Escape hostname in agent encryption docs 2016-11-04 08:41:05 -04:00
Diptanu Choudhury 98bd0e2100 Disable http checks if TLS is enabled 2016-11-03 17:33:58 -07:00
Diptanu Choudhury 40b9d3bb2d Fixed comment 2016-11-03 14:45:03 -07:00
Diptanu Choudhury 22681bd8ce Making AllowUnauthenticated true by default 2016-11-03 14:38:34 -07:00
Diptanu Choudhury 26373aab43 Changed docs 2016-11-03 14:26:27 -07:00
Diptanu Choudhury b6f9df5415 Renaming TLS related vault config 2016-11-03 14:24:39 -07:00
Seth Vargo dd70e4e019 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 0a87d0da32
Remove debug rec 2016-11-02 19:29:38 -04:00
Seth Vargo 241a43eddf
Address feedback 2016-11-02 19:26:10 -04:00
Seth Vargo 4a1fa67f26
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 69e2352173 Merge pull request #1923 from hashicorp/sethvargo/vault_up
Add Vault stanza everywhere
2016-11-02 18:29:39 -04:00
Seth Vargo 446d6c08c0
Address feedback 2016-11-02 18:29:17 -04:00
Seth Vargo 1941aae963
Add vault stanza everywhere 2016-11-02 18:26:53 -04:00
Diptanu Choudhury 90e067357b Merge pull request #1922 from hashicorp/f-def-disk
Adding a default ephemeral disk if it's not added by default
2016-11-02 15:19:32 -07:00
Diptanu Choudhury 2dbdf0f755 Adding a default ephemeral disk if it's not added by default 2016-11-02 15:07:22 -07:00