Diptanu Choudhury
8b2f94ff6f
Added a test for merge
2016-02-08 16:27:31 -08:00
Diptanu Choudhury
6c32119ee7
Allow users to configure arbitrary headers in config
2016-01-22 11:00:43 -08:00
Ivo Verberk
ab9409184a
Shorten CLI identifiers
...
* Truncate all UUID identifiers to eight characters by default
* Refactor the node identifier to an auto-generated UUID
* Created and updated tests and mocks
2016-01-14 21:57:43 +01:00
Alex Dadgar
9f44780f89
User specifiable kill timeout and operator configurable max
2015-12-22 16:10:30 -08:00
Chris Hines
cacd8a78b3
Use minimum OS specific path.
...
This change ensures LoadConfig and LoadConfigDir report consistent paths to files and those paths use the appropriate path separator for the target OS. Note that LoadConfigDir constructs paths with filepath.Join, which calls filepath.Clean, which calls filepath.FromSlash.
2015-12-14 14:59:19 -05:00
Chris Bednarski
67eb18d9aa
Use filepath.FromSlash so the test uses platform-specific path separators
2015-12-10 12:22:41 -08:00
Alex Dadgar
2e3fd73487
Merge pull request #527 from asteris-llc/master
...
Add cluster join command line options and configuration options
2015-12-09 13:14:00 -08:00
Chris Bednarski
dc23448c47
Merge pull request #536 from hashicorp/f-log-config-files
...
Log the list of config files loaded when starting the nomad agent
2015-12-09 12:18:46 -08:00
Chris Bednarski
015a15609b
Add test to verify order
2015-12-04 17:12:47 -08:00
Chris Bednarski
55f00adaa2
Rename ConfigFiles field to Files so there's less stutter when used as config.Files
2015-12-04 16:59:04 -08:00
Chris Bednarski
1a0999bb9a
Log the list of config files loaded when starting the nomad agent
2015-12-04 16:52:17 -08:00
Chris Aubuchon
fd3765fe3e
Restore AtlasConfig
2015-12-02 18:40:30 -06:00
Chris Aubuchon
0d0fe0a408
Add cluster join command line options and configuration options
2015-12-02 13:55:29 -06:00
Chris Hines
38ede674bd
Do not leak listeners in test.
2015-12-02 13:59:27 -05:00
Ryan Uber
3ddc16010d
agent: apply merges for atlas config
2015-11-30 15:21:50 -08:00
Mitchell Hashimoto
0f37f829a3
command/agent: use new HCL API
2015-11-09 11:49:27 -08:00
Gregory Man
21879e22e0
Added node_gc_threshold configuration option
...
Close #333
2015-10-29 15:58:21 +02:00
Alex Dadgar
d8f3bd26e6
Merges
2015-10-02 17:32:11 -07:00
Ryan Uber
222abf114e
agent: test options config
2015-10-02 17:02:32 -07:00
Ryan Uber
61f4e638b8
agent: return empty config for empty config dirs
2015-09-29 15:07:52 -07:00
Ryan Uber
fbbe4a4973
agent: remove explicit Bootstrap option in favor of BootstrapExpect
2015-09-22 14:41:49 -07:00
Armon Dadgar
7e8d48f7ba
agent: test config parsing
2015-09-22 11:29:58 -07:00
Armon Dadgar
c9d17611bf
nomad: rename region1 to global. Fixes #41
2015-09-13 18:18:40 -07:00
Ryan Uber
276165344d
agent: test listener from config
2015-09-11 11:10:55 -07:00
Ryan Uber
61b5f0413e
agent: adjust tests
2015-09-10 19:04:06 -07:00
Ryan Uber
e9811c55dd
agent: merge telemetry, server, and client configs
2015-09-10 11:25:19 -07:00
Ryan Uber
906c76bb54
agent: config loading tests
2015-09-09 22:11:48 -07:00
Ryan Uber
0d4e22978f
agent: config merge works + tests
2015-09-09 21:42:50 -07:00