Ryan Uber
7a74f559b9
command: remove -init argument from keyring, auto-persist keyrings when using agent -encrypt
2014-11-19 16:35:13 -08:00
Ryan Uber
431b366d4f
agent: split keyring functionality out of agent.go
2014-11-19 16:32:32 -08:00
Ryan Uber
2220ccdac2
command: various cleanup
2014-11-19 16:31:06 -08:00
Ryan Uber
353b67826a
command: use separate key files for LAN/WAN
2014-11-19 16:31:06 -08:00
Ryan Uber
530f3ba747
command/keys: refactor, restrict key operations to server nodes
2014-11-19 16:31:06 -08:00
Ryan Uber
8a40f3888c
agent: move keyring initialization out of agent, add -init option to keys command
2014-11-19 16:31:06 -08:00
Ryan Uber
0952535e33
agent: fix keyring loading when config is passed off
2014-11-19 16:31:06 -08:00
Ryan Uber
b6037ef323
agent: clean up keyring file implementation
2014-11-19 16:31:06 -08:00
Ryan Uber
fcb0961436
agent: refactor keyring loader
2014-11-19 16:31:06 -08:00
Ryan Uber
46ce9e936f
command/keys: remove key command implemented
2014-11-19 16:30:22 -08:00
Ryan Uber
1ac6b10aed
command/keys: use key command implemented
2014-11-19 16:30:22 -08:00
Ryan Uber
7b6f3d6dcc
agent: install key command implemented
2014-11-19 16:30:22 -08:00
Ryan Uber
67b179ccc9
command: basic rpc works for keys command
2014-11-19 16:30:21 -08:00
Ryan Uber
4dd1b42477
consul: use rpc layer only for key management functions, add rpc commands
2014-11-19 16:30:21 -08:00
Ryan Uber
471ee9ce8f
command: create serf dir if it doesn't exist, document -disable-keyring arg
2014-11-19 16:30:21 -08:00
Ryan Uber
0da6e08d9d
consul: fix json marshaling
2014-11-19 16:30:21 -08:00
Ryan Uber
e20a724999
consul: first pass at keyring integration
2014-11-19 16:30:20 -08:00
Ryan Uber
df5859580f
agent: pass notes field through for checks inside of service definitions. Fixes #449
2014-11-06 18:25:21 -08:00
Ryan Uber
2319460904
agent: initialize local consul service tags to fix service sync
2014-10-17 14:29:12 -07:00
Armon Dadgar
4f1fa3a4ce
Merge pull request #401 from hashicorp/f-healthcheck
...
Default services to "critical" state instead of "unknown"
2014-10-15 16:50:38 -07:00
Ryan Uber
cfca160cd5
formatting
2014-10-15 14:56:15 -07:00
Ryan Uber
2f93e13da8
consul: kill remaining use of HealthUnknown
2014-10-15 10:14:46 -07:00
Ryan Uber
b1e8d351ab
agent: re-use ConsulServiceID from consul package
2014-10-14 15:44:11 -07:00
Ryan Uber
4576b4eb29
agent: auto-register the consul service on server nodes
2014-10-14 15:35:00 -07:00
Armon Dadgar
93c17db1b2
agent: remove userEventEnc type
2014-08-28 10:56:30 -07:00
Armon Dadgar
2d03146d3b
agent: Adding event ingestion
2014-08-27 17:01:10 -07:00
Armon Dadgar
314743c111
agent: working on user events
2014-08-27 16:49:12 -07:00
Armon Dadgar
1c341e6766
consul: expose UserEvent from Serf
2014-08-26 18:50:03 -07:00
Armon Dadgar
cae4b421a3
agent: Adding ACL master token
2014-08-18 15:46:20 -07:00
Armon Dadgar
a8063457f8
consul: ACL setting passthrough
2014-08-18 15:46:20 -07:00
Armon Dadgar
924e4bc7f1
Rename Expect to BootstrapExpect. Fixes #223 .
2014-06-19 17:08:55 -07:00
Armon Dadgar
5b2941d43e
Fixing merge conflict
2014-06-18 15:48:46 -07:00
Armon Dadgar
a05e1aee15
agent: Fixing missing copy of RejoinAfterLeave flag. #110
2014-06-18 10:32:19 -07:00
Armon Dadgar
10c120bf9d
agent: Fix issues with re-registration. Fixes #216
2014-06-17 16:48:19 -07:00
Robert Xu
c60fd0542a
Add expect bootstrap '-expect=n' mode.
...
This allows for us to automatically bootstrap a cluster of nodes after
'n' number of server nodes join. All servers must have the same 'n' set, or
they will fail to join the cluster; all servers will not join the peer set
until they hit 'n' server nodes.
If the raft commit index is not empty, '-expect=n' does nothing because it
thinks you've already bootstrapped.
Signed-off-by: Robert Xu <robxu9@gmail.com>
2014-06-16 17:40:33 -04:00
Armon Dadgar
441d613e1b
agent: Copy ServerName config
2014-06-13 11:27:44 -07:00
Armon Dadgar
b144633815
consul: Gossip the build using Serf
2014-06-06 15:36:40 -07:00
Armon Dadgar
42e3729a7c
agent: Add version to info output
2014-06-06 14:40:22 -07:00
Armon Dadgar
acc048036b
consul: Ensure clients also implement LocalMember
2014-05-29 11:21:56 -07:00
William Tisäter
d0e447d29b
Add `/v1/agent/self` and return local agent config
2014-05-27 01:15:33 +02:00
Mitchell Hashimoto
78b7c57ba3
command/agent: find proper private IP on Windows
...
/cc @armon
2014-05-15 11:27:30 -07:00
Armon Dadgar
1256bf37f0
agent: Minor cleanups
2014-05-06 12:43:33 -07:00
Carlos Diaz-Padron
4124ddf763
Return pid file errors and fix help formatting
2014-05-06 13:04:22 -04:00
Carlos Diaz-Padron
60ef5a8a12
Add flag to agent to write pid file
2014-05-05 23:39:18 -04:00
Armon Dadgar
018482dc4c
Store check output in dedicated field. Fixes #59 .
2014-04-21 16:20:22 -07:00
Armon Dadgar
6bbe8fd493
agent: Adding minimum check interval. Fixes #64 .
2014-04-21 14:42:42 -07:00
Haney Maxwell
0a5d75da5d
documentation: minor comment consistency in agent.go
2014-04-17 22:46:31 -07:00
Armon Dadgar
d8ca1f367c
agent: Fixing wrong port usage for server
2014-04-14 12:37:49 -07:00
Armon Dadgar
8dd1e51bae
agent: Simplifying configs
2014-04-11 15:46:55 -07:00
Armon Dadgar
922014530f
agent: First pass at improving flags
2014-04-11 15:22:35 -07:00