Commit Graph

4468 Commits

Author SHA1 Message Date
Sean Chittenden
7ffde66c6d Improve FreeBSD's CPU detection. Cherrypicked from shirou/gopsutil#219. 2016-06-16 23:07:13 -07:00
Sean Chittenden
b0490efb38 In the debug log, split the unit from the measurement
awk(1) friendly is UNIX(tm) friendly.
2016-06-16 23:07:13 -07:00
Sean Chittenden
e0b4f7a080 Warn when we're unable to fingerprint the CPU Mhz 2016-06-16 23:07:13 -07:00
Sean Chittenden
a6dc002415 Explicitly call cpu.Counts() to determine the CPU core count
Much safer than counting the number of InfoStat structs returned.
2016-06-16 23:07:13 -07:00
Sean Chittenden
5c118d8fdf Fix tests 2016-06-16 22:26:45 -07:00
Sean Chittenden
1c544280a4 Update the docs for installing from source 2016-06-16 21:42:47 -07:00
Sean Chittenden
e5f65e5c7c Fix tests, don't take the address of DefaultConsulCommand() 2016-06-16 21:21:39 -07:00
Sean Chittenden
105ba1f177 Ignore log files 2016-06-16 21:04:09 -07:00
Sean Chittenden
77b2501ec5 Merge pull request #1308 from hashicorp/b-clenaup-consulconfig-defaults
Create config.DefaultConsulConfig()
2016-06-16 20:58:46 -07:00
Sean Chittenden
7dc7fcf052 Create config.DefaultConsulConfig() 2016-06-16 20:41:05 -07:00
Sean Chittenden
174132d398 Allow test flags to be overridden from the environment. 2016-06-16 18:26:31 -07:00
Sean Chittenden
53ffd40bef Only register the Client services reaper when consul.auto_advertise is enabled 2016-06-16 18:24:58 -07:00
Sean Chittenden
3ba1ce5fab Merge pull request #1306 from hashicorp/b-remove-client-rpc
Remove client registration of RPC services, only servers have an RPC …
2016-06-16 18:15:56 -07:00
Sean Chittenden
d82de05b57 Remove client registration of RPC services, only servers have an RPC interface 2016-06-16 18:14:59 -07:00
Sean Chittenden
15e42b00b9 Merge pull request #1305 from hashicorp/f-autoreg-checks
F autoreg checks
2016-06-16 17:41:25 -07:00
Sean Chittenden
25aed9826a Use /v1/agent/servers (vs /v1/agent/self). 2016-06-16 17:40:47 -07:00
Sean Chittenden
6035dbfbe4 Automatically register service checks for HTTP, RPC, and Serf. 2016-06-16 17:34:25 -07:00
Sean Chittenden
e5eb863e27 Whitespace police 2016-06-16 17:34:09 -07:00
Alex Dadgar
86737986e7 Merge pull request #1304 from hashicorp/d-plan-cli
plan cli docs
2016-06-16 17:24:24 -07:00
Alex Dadgar
de178ca037 plan cli docs 2016-06-16 17:23:49 -07:00
Alex Dadgar
3ad78119b4 Merge pull request #1299 from hashicorp/d-node-status
Update node-status docs
2016-06-16 17:21:37 -07:00
Sean Chittenden
277592dd88 conf -> config 2016-06-16 17:05:29 -07:00
Sean Chittenden
b92e75f9dd Merge pull request #1301 from hashicorp/b-update-hashicorp-raft
Update various `vendor/`ed libs with known good fixes.
2016-06-16 16:46:45 -07:00
Sean Chittenden
15ca96ea5b Merge pull request #1303 from hashicorp/b-client_tests
Fix tests for NewServer() in client mode.
2016-06-16 16:35:48 -07:00
Sean Chittenden
3d32d20af8 Fix tests for NewServer() in client mode.
Pointy-hat: sean-

I'm positive I've done this before.
2016-06-16 16:34:22 -07:00
Sean Chittenden
f2950f3241 Merge pull request #1302 from hashicorp/b-typos
Misc typos
2016-06-16 16:20:15 -07:00
Sean Chittenden
4bb6309fd3 Misc typos 2016-06-16 16:17:17 -07:00
Sean Chittenden
32c2169a94 Noop update for hashicorp/yamux 2016-06-16 16:02:41 -07:00
Sean Chittenden
e359b5226c Update github.com/hasicorp/go-memdb 2016-06-16 15:58:50 -07:00
Sean Chittenden
44b000275f Update github.com/hashicorp/serf 2016-06-16 15:57:57 -07:00
Sean Chittenden
7a7675f952 Update github.com/hashicorp/memberlist 2016-06-16 15:55:35 -07:00
Sean Chittenden
f190ebfcde Update github.com/hashicorp/go-immutable-radix 2016-06-16 15:55:02 -07:00
Sean Chittenden
669b48f357 Noop upgrade for armon/go-radix 2016-06-16 15:54:23 -07:00
Sean Chittenden
d33f55a210 Remove hashicorp/raft/bench 2016-06-16 15:52:35 -07:00
Sean Chittenden
4935c8e548 No updates for hashicorp/raft-boltdb 2016-06-16 14:54:15 -07:00
Sean Chittenden
d881e3c8df Update hashicorp/raft 2016-06-16 14:53:03 -07:00
Alex Dadgar
69c0851ee0 Update node-status docs 2016-06-16 14:50:41 -07:00
Sean Chittenden
a38e3ce26a Merge pull request #1298 from hashicorp/b-auto-join
Only auto-join clients if `client_auto_join` is true
2016-06-16 14:48:27 -07:00
Sean Chittenden
5559e013bf Only auto-join clients if client_auto_join is true 2016-06-16 14:47:21 -07:00
Sean Chittenden
123e77c945 Merge pull request #1297 from hashicorp/b-golint
A few linter fixes
2016-06-16 14:44:51 -07:00
Sean Chittenden
8e1777ae3a Test for errors 2016-06-16 14:43:46 -07:00
Sean Chittenden
ed598bf584 Don't assign to an atomic w/o using atomic setter func 2016-06-16 14:43:46 -07:00
Sean Chittenden
fbccab8aae Changelog++: server autojoin 2016-06-16 14:43:17 -07:00
Sean Chittenden
5708560527 Merge pull request #1276 from hashicorp/f-consul-server-autojoin
Teach Nomad servers how to fall back to Consul.
2016-06-16 14:40:45 -07:00
Sean Chittenden
b82f872a82 Fix up various error handling 2016-06-16 14:40:09 -07:00
Alex Dadgar
9bf6fc51f1 Merge pull request #1296 from hashicorp/d-status-cli
Update status docs
2016-06-16 14:31:11 -07:00
Sean Chittenden
9cd44ce695 Immediately query Consul upon initialization if we have no peers.
Also don't attempt to join the Server with itself.
2016-06-16 14:27:10 -07:00
Diptanu Choudhury
08fdc69d9c Merge pull request #1295 from hashicorp/remove-stats-config
Removed the stats block from client configuration
2016-06-16 23:07:19 +02:00
Alex Dadgar
ff4b222f23 Update status docs 2016-06-16 14:00:45 -07:00
Diptanu Choudhury
69adab51d9 Merge pull request #1285 from hashicorp/fix-selinux-options
Added a client options for setting selinux options
2016-06-16 22:45:24 +02:00