Commit graph

3056 commits

Author SHA1 Message Date
Wim a6734ab4b8 Recurse when PTR answer is empty 2015-07-27 23:22:36 +02:00
Armon Dadgar 2017c95d13 Merge pull request #1130 from pdf/check_socket
Add Socket check type
2015-07-27 14:21:24 -07:00
Peter Fern 403b42af99 Document TCP check type 2015-07-27 10:53:52 +10:00
Ryan Uber 6d38027689 Merge pull request #1090 from hashicorp/f-keyring-acl
Keyring ACLs
2015-07-24 10:23:18 -07:00
Peter Fern 86edd7169c Add TCP check type
Adds the ability to simply check whether a TCP socket accepts
connections to determine if it is healthy.  This is a light-weight -
though less comprehensive than scripting - method of checking network
service health.

The check parameter `tcp` should be set to the `address:port`
combination for the service to be tested.  Supports both IPv6 and IPv4,
in the case of a hostname that resolves to both, connections will be
attempted via both protocol versions, with the first successful
connection returning a successful check result.

Example check:

```json
{
  "check": {
    "id": "ssh",
    "name": "SSH (TCP)",
    "tcp": "example.com:22",
    "interval": "10s"
  }
}
```
2015-07-24 14:06:05 +10:00
Ryan Uber a339ca19a6 agent: disable ACLs for RPC client tests 2015-07-23 17:09:33 -07:00
Armon Dadgar 8fe9149fbd Merge pull request #1128 from kongchen/master
Fix the display issue in consul ui
2015-07-23 11:08:32 -07:00
孔晨 57dfd1f46a fix base64 issue 2015-07-23 15:56:23 +08:00
孔晨 3cd8a0c214 fix 中文乱码问题 2015-07-23 14:47:32 +08:00
Armon Dadgar f1a83a8954 Merge pull request #1119 from trumant/multiple_private_IPs
Fixes #1099 by raising an error when we multiple private IPs are found
2015-07-22 17:32:00 -07:00
Armon Dadgar 6f42f6640c command/lock: Check for shutdown during lock acquisition. Fixes #800 2015-07-22 16:07:44 -07:00
Armon Dadgar 2b93e5f52c Merge pull request #1080 from zendesk/master
Return every time lock acquisition fails
2015-07-22 15:30:46 -07:00
Armon Dadgar 00691a0f02 Merge pull request #1127 from carlpett/master
Fix missing config-dir in getting started guide
2015-07-22 12:34:35 -07:00
Benjamin Abbott-Scott eece6e4848 Return every time lock acquisition fails 2015-07-22 10:44:47 -07:00
Calle Pettersson 2e03fa1648 Fix missing config-dir in getting started guide 2015-07-22 13:33:15 +02:00
Travis Truman e18a93ed54 Fixes #1099 by raising an error when we multiple private IPs are found 2015-07-16 22:25:02 -04:00
Ryan Uber 1b6ce88d6d Merge pull request #1093 from buddhamagnet/master
Switch to more idiomatic var syntax
2015-07-14 12:53:58 -07:00
Ryan Uber bfcca7ae24 Merge pull request #1112 from drawks/iss-1111
Fix issue #1111 - vagrant cluster demo doesn't work
2015-07-14 12:01:58 -07:00
Dave Rawks ef36aec2e4 Fix issue #1111 - vagrant cluster demo doesn't work
Switch demo Vagrantfile to use official debian 7 base box
and reflect change in the README
2015-07-14 11:43:18 -07:00
Ryan Uber f424f94d45 agent: vet fixes 2015-07-14 11:42:51 -07:00
Ryan Uber 6d27334ee1 consul: fixes for events and related tests 2015-07-14 11:38:26 -07:00
Seth Vargo 403a01dcbb Merge pull request #1109 from hashicorp/sethvargo/rack_protection
Use Rack::Protection
2015-07-13 12:59:20 -04:00
Seth Vargo 5992548d8a Use Rack::Protection 2015-07-13 12:56:46 -04:00
Seth Vargo bcfc07e09c Update middleman-hashicorp 2015-07-13 12:56:40 -04:00
Ryan Uber 8e834ba976 Merge pull request #995 from 42wim/rfc2308-soa-ttl
Send SOA with negative responses (RFC2308)
2015-07-13 08:49:25 -07:00
Ryan Breen 242f0ee3d8 Merge pull request #1094 from BrianHicks/website/ciscocloud-consul-tools
website: add marathon-consul and mesos-consul
2015-07-08 20:01:31 -04:00
Brian Hicks f3e5c4b58d website: add marathon-consul and mesos-consul 2015-07-08 17:47:49 -06:00
buddhamagnet f71e66f8e1 switch to more idiomatic var syntax 2015-07-08 23:22:12 +01:00
Ryan Uber 0a09b11cba agent: testing keyring ACLs 2015-07-07 15:14:06 -06:00
Ryan Uber 4a7fdc439f acl: adding negative tests for bad policy 2015-07-07 14:46:41 -06:00
Ryan Uber d7f76702fe website: docs for keyring ACLs 2015-07-07 11:45:49 -06:00
Ryan Uber 4ac7596b14 acl: more keyring tests 2015-07-07 11:21:27 -06:00
Ryan Uber 2dab8a5ddd acl: allow omitting keyring policy, add tests 2015-07-07 11:07:37 -06:00
Ryan Uber 177b5b434e acl: keyring policy uses a flat string 2015-07-07 10:45:38 -06:00
Ryan Uber e764eb62bd agent: write-level keyring ACLs work 2015-07-07 10:36:51 -06:00
Ryan Uber 665551a182 agent: read-level keyring ACLs work 2015-07-07 10:30:34 -06:00
Ryan Breen 5adf13e381 Merge pull request #1087 from edwardbadboy/master
Website: Delete the unnecessary backslash at the end shell command line
2015-07-06 23:40:09 -04:00
Zhou Zheng Sheng 0a2a6e570a Website: Delete the unnecessary backslash at the end shell command line
Shell thinks '\<newline>' as line continuation only when it's unquoted
or in double quotes. It's not necessary to manually mark '\<newline>'
in single quotes, because when shell sees the a single quote starts, it
continues the line automatically until it sees the matching single quote
ends.

Thus,
echo 'a\
  b'
would give the following output
a\
  b

And
echo 'a
  b'
gives the following output
a
  b

Since we don't want to leave backslashes in the resulting json files, we
should remove the line continuation backslashes inside single quotes.
2015-07-07 11:27:47 +08:00
Ryan Uber 4ef6545583 acl: initial pass at keyring ACLs 2015-07-06 18:28:09 -06:00
Armon Dadgar fd2bead478 consul: fixing test using wrong FSM 2015-07-06 14:33:58 -06:00
Ryan Uber 503fa1eed1 Merge pull request #1046 from hashicorp/f-event-acl
Event ACLs
2015-07-02 07:02:07 -07:00
Ryan Uber d2eac37579 agent: remove unnecessary EventFire function 2015-07-02 06:56:27 -07:00
Ryan Breen eeb0d7733d Merge pull request #1074 from ketzacoatl/patch-1
Minor improvement to `acl_master_token` docs
2015-07-01 15:59:14 -04:00
ketzacoatl efc2d316c1 Minor improvement to acl_master_token docs
Confirm the expected format, and what happens if not provided.
2015-07-01 15:34:35 -04:00
Armon Dadgar d754f07f4c Merge pull request #1029 from hashicorp/f-travis
Use test target for travis-ci, remove flowdock
2015-06-29 17:45:26 -07:00
Ryan Breen 8fc15f29a1 Merge pull request #1066 from norbertpotocki/master
Add cfg4j to website (community projects section)
2015-06-28 16:20:53 -04:00
Norbert Potocki 255c4e308f restore alphabetical order 2015-06-28 13:17:07 -07:00
Norbert Potocki 20abf0dabe add cfg4j communicty project 2015-06-28 13:15:40 -07:00
Ryan Uber 34d507a9c2 Merge pull request #1055 from thorduri/master
gc duplicate platform variable
2015-06-25 09:54:43 -07:00
Ryan Uber cb0043e8f8 website: adding tag/service name dns compliance docs 2015-06-25 09:08:38 -07:00