11 Commits

Author SHA1 Message Date
Pierre Souchay
1618d79518 Allow "disable_host_node_id": false to work on Linux as non-root. (#4926)
Bump `shirou/gopsutil` to include https://github.com/shirou/gopsutil/pull/603

This will allow to have consistent node-id even when machine is reinstalled
when using `"disable_host_node_id": false`

It will fix https://github.com/hashicorp/consul/issues/4914 and allow having
the same node-id even when reinstalling a node from scratch. However,
it is only compatible with a single OS (installing to Windows will change
the node-id, but it seems acceptable).
2019-01-10 10:50:14 -05:00
Jack Pearkes
0358c7a063 vendor: upgrade to latest version of gopsutil 2018-10-19 11:33:23 -07:00
Sean Chittenden
7d9c9881fc
Update shirou/gopsutil/313 to pull in lowercased HostIDs. 2017-02-06 16:27:56 -08:00
Sean Chittenden
abceea206d
Chase an upstream go fmt that has been long overdue. 2017-02-03 22:31:11 -08:00
Sean Chittenden
95a8ee35d6
Remove _test.go files from shirou/gopsutil 2017-02-03 22:29:02 -08:00
Sean Chittenden
ee8705f549
Add durable HostID generation for Windows.
https://github.com/shirou/gopsutil/pull/312
2017-02-02 16:11:54 -08:00
Sean Chittenden
1e5534a27a
Add missing shirou/gopsutils vendor dependencies and files that were reverted 2017-02-01 10:26:00 -08:00
Sean Chittenden
504d16fdb8 Merge branch 'master' into f-gopsutil 2017-02-01 08:44:30 -08:00
Sean Chittenden
18760e1fb5
Reintroduce the necessary vendor bits for per-node IDs
* `shirou/gopsutil`
* `shirou/w32`
2017-02-01 08:36:24 -08:00
James Phillips
91f3555dd8 Revert "Adds gopsutil in the loop when trying to make the node ID." 2017-01-31 19:13:49 -08:00
James Phillips
9d27dadedb
Adds gopsutil to vendored deps. 2017-01-31 08:51:25 -08:00