Commit Graph

4873 Commits

Author SHA1 Message Date
Kyle Havlovitz 5ddea8a5df
Merge branch 'master' into f-gce-discovery 2017-01-11 22:57:07 -05:00
Kyle Havlovitz dbc72eaac0
Condense gce discovery logging a bit 2017-01-11 22:37:22 -05:00
Kyle Havlovitz 023b6533e0
Fix formatting 2017-01-11 20:44:22 -05:00
Kyle Havlovitz e015d153ce Update CHANGELOG.md 2017-01-11 20:43:04 -05:00
Kyle Havlovitz 23ce10f889 Merge pull request #2643 from hashicorp/f-node-metadata
Node metadata
2017-01-11 20:29:24 -05:00
Kyle Havlovitz 87c0283bb1
Update client api and docs for node metadata 2017-01-11 19:28:58 -05:00
Kyle Havlovitz d44f3ea5d4
Update website docs for node metadata 2017-01-11 17:52:31 -05:00
Kyle Havlovitz 7f91cd12f4
Add -node-meta to agent command line options 2017-01-11 16:09:04 -05:00
Kyle Havlovitz c9e430c396
Validate metadata config earlier and handle multiple filters 2017-01-11 15:12:03 -05:00
James Phillips 3e9c96d996 Merge pull request #2645 from agy/agy/typo-fix
Pedantic typo fix
2017-01-10 12:54:00 -08:00
Andrew Glen-Young 01de3b3cb9 Pedantic typo fix 2017-01-10 15:44:32 -05:00
Kyle Havlovitz 03273e4ed2
Fix formatting 2017-01-09 13:49:33 -08:00
Kyle Havlovitz c3db65a7d8
vendor: Update go-memdb dependency 2017-01-09 11:23:09 -08:00
Kyle Havlovitz 84504a20fc
Add meta key validations and more tests 2017-01-09 11:21:49 -08:00
James Phillips be90310501 Merge pull request #2641 from hashicorp/jbs-envvars-move
DOCS: update environment variables
2017-01-09 09:11:50 -08:00
Brian Shumate 1eaeb13a9c
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 4ffa8dee9b Merge pull request #2638 from hashicorp/jbs-envupdate
DOCS: update Environment Variables page
2017-01-06 08:47:23 -08:00
Brian Shumate f5e76a7125
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 e44bcb9716
Add tests for node metadata functionality 2017-01-05 17:21:56 -08:00
Kyle Havlovitz 52d6fd831e
Add support for setting node metadata fields 2017-01-05 14:10:26 -08:00
James Phillips 5500009ae4 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 fc7ac65009 Update CHANGELOG.md 2017-01-05 12:15:16 -08:00
James Phillips 6c2462e309 Merge pull request #2611 from amiryal/patch-1
Correct heading level in encryption documentation
2017-01-05 12:13:13 -08:00
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 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