Commit Graph

5407 Commits (80ecaa573d89923ccd70490d073b497a3ea52416)

Author SHA1 Message Date
James Phillips c09f8a7a69 Merge pull request #2612 from amiryal/patch-2
Systemd unit to use default KillSignal of SIGTERM
2017-01-05 12:12:55 -08:00
James Phillips b434442c78 Merge pull request #2613 from jrasell/master
Update the AWS terraform variables file to include us-east-2 AMIs.
2017-01-05 12:11:24 -08:00
James Phillips 78a53e18a7 Merge branch 'master' into master 2017-01-05 12:10:58 -08:00
James Phillips 4cb00746fb Merge pull request #2615 from ruslansennov/master
update `/v1/agent/service/register` endpoint doc
2017-01-05 12:08:50 -08:00
James Phillips 1da2a906d4 Merge pull request #2620 from mooyoul/tf-module-support-aws-seoul
Add Seoul region to the map for ubuntu
2017-01-05 12:06:54 -08:00
James Phillips ffaef1dfc9 Merge pull request #2627 from legendtkl/master
fix typo Check-And_set to Check-And-Set
2017-01-05 11:55:02 -08:00
James Phillips 63ad16fe02 Merge pull request #2628 from jippi/patch-1
Adding hashi-ui to community tools
2017-01-05 11:51:21 -08:00
James Phillips 06e1e525e0 Merge pull request #2629 from Ashald/f-website/add-consul-announcer
Add consul-announcer to Community Tools
2017-01-05 11:50:48 -08:00
James Phillips d555f58a31 Merge pull request #2636 from hashicorp/jbs-ui-noscript
UI: add notification for disabled JavaScript
2017-01-05 11:49:13 -08:00
James Phillips 66f3a0f1c3 Merge pull request #2635 from hashicorp/kv-put-crash
cli: Fix panic on empty data argument to `kv put`
2017-01-05 09:57:59 -08:00
James Nugent 19921290c4 cli: Fix printf format in KV Export Test
Fix vet issue:

command/kv_export_test.go:48: arg code for printf verb %s of wrong type:
int
2017-01-05 09:28:12 -06:00
James Nugent 2231dd9d1e Update CHANGELOG.md 2017-01-05 08:45:09 -06:00
James Nugent 0e6e31542c Merge pull request #2633 from hashicorp/kv-export-import
cli: Add KV `export` and `import`
2017-01-05 08:41:38 -06:00
Brian Shumate 256372b8b4
UI: add notification for disabled JavaScript 2017-01-05 09:10:58 -05:00
James Nugent ae83b71b08 cli: Fix panic on empty data argument to `kv put`
Passing in an empty quoted argument from the shell currently panics as
we never check the length being greater than 0 prior to indexing into
the first rune, as illustrated in the test in this commit.

We also fix the panic, treating an empty string for data as equivalent
to not having passed it in the first place.
2017-01-05 08:02:38 -06:00
James Nugent d4e8c8a2c1 cli: Add KV `export` and `import`
This commit adds two new commands to the Consul KV CLI, which export and
import a JSON formatted representation of the Consul KV tree. It is
useful to migrate parts of the KV tree between unrelated Consul
clusters, and could also be used for initial data population of the KV
store.
2017-01-05 07:57:38 -06:00
James Tancock 5151c64f54 Standardize the case of all check log messages 2017-01-05 08:34:20 +00:00
James Nugent 0346e3e64f Merge pull request #2632 from hashicorp/kv-put-base64
cli: Add -base64 option to `consul kv put`
2017-01-04 16:12:42 -06:00
James Nugent 2e8f440ac7 cli: Add -base64 option to `consul kv put`
This commit adds a -base64 option to the consul kv put command, which
base 64 decodeds the data prior to writing it. This can be used in
conjunction with `consul kv get -base64 key`.
2017-01-04 16:12:21 -06:00
James Nugent 5334649355 Merge pull request #2631 from hashicorp/kv-get-base64
cli: Add -base64 option to `consul kv get`
2017-01-04 16:00:27 -06:00
James Nugent b79296ac70 cli: Add -base64 option to `consul kv get`
This commit adds a `-base64` option to the `consul kv get` command,
which base 64 encodes the output such that it can be processed by
terminal tools in the event that the data is binary. The flag defaults
to false.
2017-01-04 15:41:40 -06:00
Borys Pierov d98f847919 Add consul-announcer to Community Tools 2017-01-04 11:03:19 -05:00
Christian Winther 62f2e493be Update downloads_tools.html.erb 2017-01-03 21:14:39 +01:00
legendtkl 713bf8654a fix typo Check-And_set to Check-And-Set 2017-01-04 00:46:16 +08:00
Moo Yeol, Lee (Prescott) 8a0bec5ab8 Add Seoul region to the map for ubuntu 2016-12-30 03:39:49 +09:00
Ruslan Sennov 8e86ebd9db update `/v1/agent/service/register` endpoint doc 2016-12-26 23:32:20 +03:00
Author: James Rasell d8cdef154a Update the AWS terraform variables file to include us-east-2 AMIs.
AMIs have been added for Ubuntu, CentOS[6-7] and RH[6-7].
Terraform fmt has also been run on the file.
2016-12-22 13:30:43 +00:00
Amir Yalon a811bf15f1 Systemd unit to use default KillSignal of SIGTERM
Since Consul 0.7, client-mode agents are shutting down gracefully by
default, so no need to send them a SIGINT specially. The default for
server-mode agents is still not to leave gracefully on SIGTERM, but it
was left this way for a reason. To override this, it is better to set
the leave_on_terminate option, rather than changing the KillSignal.
2016-12-22 13:06:32 +02:00
Amir Yalon 2932648c05 Correct heading level in encryption documentation
The ‘RPC Encryption’ heading is semantically at the same level as ‘Gossip Encryption’.
2016-12-22 10:51:20 +02:00
James Phillips dc2a54a77b
Updates downloads page link to 0.7.2. 2016-12-21 05:20:54 -08:00
James Phillips 3002723769 Merge pull request #2607 from bradleyfalzon/patch-2
Fix typo in command/kv/put doc
2016-12-20 21:37:27 -08:00
Bradley Falzon 5a0b824ae0 Fix typo in command/kv/put doc 2016-12-21 14:02:26 +10:30
James Phillips c900966b8c
Puts the tree in 0.7.3 dev mode. 2016-12-19 11:45:15 -08:00
James Phillips a9afa0c27f
Release v0.7.2 2016-12-19 11:15:39 -08:00
James Phillips af28466cf0
Puts the tree into 0.7.2 release mode. 2016-12-19 10:06:40 -08:00
James Phillips 04f8e5adc0 Merge pull request #2599 from hashicorp/data-dir-handling
Don't error if data-dir doesn't exist
2016-12-15 09:58:40 -08:00
Kyle Havlovitz 8494b06ce0
Don't error if the given data-dir doesn't exist 2016-12-15 12:55:21 -05:00
James Phillips 346899594e
Release v0.7.2-rc1 2016-12-15 08:22:06 -08:00
James Phillips 1d5b15c74f
Puts tree in release mode for -rc1. 2016-12-15 08:21:39 -08:00
James Phillips d6dc6a1fcc
Adds exception for data-dir check in -dev mode.
This was changed in #2529.
2016-12-14 22:11:16 -08:00
James Phillips 4956a66638 Adds session policy example to ACL internals doc. 2016-12-14 21:31:59 -08:00
James Phillips 2f9c05a75b
Updates web assets to match latest. 2016-12-14 21:08:17 -08:00
James Phillips e6b79b9a3b Update CHANGELOG.md 2016-12-14 21:06:57 -08:00
James Phillips 03a4b09c1d
Fixes a typo in the agent options docs. 2016-12-14 21:03:16 -08:00
James Phillips a67d308175 Merge pull request #2594 from hashicorp/acl-complete
Adds complete ACL support for /v1/agent endpoints.
2016-12-14 20:49:00 -08:00
James Phillips 3a44d46126
Adds some basic documentation about the new ACL changes. 2016-12-14 20:32:44 -08:00
James Phillips ededf330ba
Adds complete ACL support for listing events. 2016-12-14 19:42:37 -08:00
James Phillips babb0a1235
Adds remaining unit tests for agent ACL vet and filter functions. 2016-12-14 19:28:09 -08:00
James Phillips 171ec6e487
Fixes a race in the monitor endpoint test that would cause panics. 2016-12-14 18:13:30 -08:00
Kyle Havlovitz d947ef4bfc Update CHANGELOG.md 2016-12-14 20:22:57 -05:00