Commit Graph

5221 Commits

Author SHA1 Message Date
Kyle Havlovitz 51a1834667
Add -node-meta to agent command line options 2017-01-11 16:09:04 -05:00
Kyle Havlovitz d77890a011
Validate metadata config earlier and handle multiple filters 2017-01-11 15:12:03 -05:00
James Phillips ee697150bc Merge pull request #2645 from agy/agy/typo-fix
Pedantic typo fix
2017-01-10 12:54:00 -08:00
Andrew Glen-Young c78c07d9cb Pedantic typo fix 2017-01-10 15:44:32 -05:00
Kyle Havlovitz 6b5cf20b1c
Fix formatting 2017-01-09 13:49:33 -08:00
Kyle Havlovitz 12da452136
vendor: Update go-memdb dependency 2017-01-09 11:23:09 -08:00
Kyle Havlovitz aee766baba
Add meta key validations and more tests 2017-01-09 11:21:49 -08:00
James Phillips c3480266ee Merge pull request #2641 from hashicorp/jbs-envvars-move
DOCS: update environment variables
2017-01-09 09:11:50 -08:00
Brian Shumate f81d8c0754
DOCS: update environment variables
- Move environment variables to section of CLI page
- Remove environment variables page
- Remove environment variables nagivation menu entry
2017-01-09 12:02:06 -05:00
James Phillips 962fc830a3 Merge pull request #2638 from hashicorp/jbs-envupdate
DOCS: update Environment Variables page
2017-01-06 08:47:23 -08:00
Brian Shumate d5bdc4c98b
DOCS: update environment variables page
- Relocate Environment Variables page to Agent section
- Correct front matter newlines issue
2017-01-06 09:42:49 -05:00
Kyle Havlovitz b25f4c7d35
Add tests for node metadata functionality 2017-01-05 17:21:56 -08:00
Kyle Havlovitz 2a423c6e2c
Add support for setting node metadata fields 2017-01-05 14:10:26 -08:00
James Phillips d29cd8f4c8 Merge pull request #2573 from hashicorp/jbs-envvars
Add a page for CLI environment variables
2017-01-05 12:42:29 -08:00
James Phillips eb84d756f4 Update CHANGELOG.md 2017-01-05 12:15:16 -08:00
James Phillips 5647e37ef2 Merge pull request #2611 from amiryal/patch-1
Correct heading level in encryption documentation
2017-01-05 12:13:13 -08:00
James Phillips 58a5c46037 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 376b0a1c35 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 4c1ea2a54b Merge branch 'master' into master 2017-01-05 12:10:58 -08:00
James Phillips 00ba30956d Merge pull request #2615 from ruslansennov/master
update `/v1/agent/service/register` endpoint doc
2017-01-05 12:08:50 -08:00
James Phillips 21c8a696d2 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 0d4baea1d2 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 8d83ac4771 Merge pull request #2628 from jippi/patch-1
Adding hashi-ui to community tools
2017-01-05 11:51:21 -08:00
James Phillips 9da1d8704c 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 b66bc381fe 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 d18b917db9 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 128b1e72dd 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 b6b30fcb37 Update CHANGELOG.md 2017-01-05 08:45:09 -06:00
James Nugent 585c8633d3 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 ef7a8704c5
UI: add notification for disabled JavaScript 2017-01-05 09:10:58 -05:00
James Nugent 94aed0717f 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 3b1f523b85 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 5b526f0847 Standardize the case of all check log messages 2017-01-05 08:34:20 +00:00
James Nugent a08672c71a 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 c32fe92eee 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 a24e5041ac 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 2bb6121e54 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 5a620246f4 Add consul-announcer to Community Tools 2017-01-04 11:03:19 -05:00
Christian Winther 452ab68f9d Update downloads_tools.html.erb 2017-01-03 21:14:39 +01:00
legendtkl b3e0702ab8 fix typo Check-And_set to Check-And-Set 2017-01-04 00:46:16 +08:00
Moo Yeol, Lee (Prescott) 8e6831e67c Add Seoul region to the map for ubuntu 2016-12-30 03:39:49 +09:00
Ruslan Sennov e81502babb update `/v1/agent/service/register` endpoint doc 2016-12-26 23:32:20 +03:00
Author: James Rasell f8cadeb603 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 7f2b4349f8 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 58ee61c3c7 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 6f03545082
Updates downloads page link to 0.7.2. 2016-12-21 05:20:54 -08:00
James Phillips 7ad4f38f52 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 5acd28c506 Fix typo in command/kv/put doc 2016-12-21 14:02:26 +10:30
James Phillips e26158eaad
Puts the tree in 0.7.3 dev mode. 2016-12-19 11:45:15 -08:00
James Phillips 381822a52c
Release v0.7.2 2016-12-19 11:15:39 -08:00