Commit Graph

3229 Commits (007d6f4bce840c7c4ea034975f6f49f23d13a62a)

Author SHA1 Message Date
buddhamagnet 462a03c1ab switch to more idiomatic var syntax 2015-07-08 23:22:12 +01:00
Ryan Uber 79ac4f3512 agent: testing keyring ACLs 2015-07-07 15:14:06 -06:00
Ryan Uber 58c26497a9 acl: adding negative tests for bad policy 2015-07-07 14:46:41 -06:00
Ryan Uber 38175f450b website: docs for keyring ACLs 2015-07-07 11:45:49 -06:00
Ryan Uber 02b49058a2 acl: more keyring tests 2015-07-07 11:21:27 -06:00
Ryan Uber 7e50a457d9 acl: allow omitting keyring policy, add tests 2015-07-07 11:07:37 -06:00
Ryan Uber 47a33e3f1a acl: keyring policy uses a flat string 2015-07-07 10:45:38 -06:00
Ryan Uber 5c65bc7df2 agent: write-level keyring ACLs work 2015-07-07 10:36:51 -06:00
Ryan Uber bffc0861cc agent: read-level keyring ACLs work 2015-07-07 10:30:34 -06:00
Ryan Breen 7cba295eb9 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 85f7064fe0 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 1b8051a783 acl: initial pass at keyring ACLs 2015-07-06 18:28:09 -06:00
Armon Dadgar 2783f2bfec consul: fixing test using wrong FSM 2015-07-06 14:33:58 -06:00
Ryan Uber e37b5ecb69 Merge pull request #1046 from hashicorp/f-event-acl
Event ACLs
2015-07-02 07:02:07 -07:00
Ryan Uber 18715a445c agent: remove unnecessary EventFire function 2015-07-02 06:56:27 -07:00
Ryan Breen 9bbe09fb43 Merge pull request #1074 from ketzacoatl/patch-1
Minor improvement to `acl_master_token` docs
2015-07-01 15:59:14 -04:00
ketzacoatl b63041c3b0 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 9cb55266e7 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 addb614509 Merge pull request #1066 from norbertpotocki/master
Add cfg4j to website (community projects section)
2015-06-28 16:20:53 -04:00
Norbert Potocki cec84be06d restore alphabetical order 2015-06-28 13:17:07 -07:00
Norbert Potocki b8b4b0f0d0 add cfg4j communicty project 2015-06-28 13:15:40 -07:00
Ryan Uber b1090469c2 Merge pull request #1055 from thorduri/master
gc duplicate platform variable
2015-06-25 09:54:43 -07:00
Ryan Uber 6290cb93bd website: adding tag/service name dns compliance docs 2015-06-25 09:08:38 -07:00
Thordur Bjornsson 15b6c6db20 gc duplicate platform variable 2015-06-25 08:39:22 +02:00
Ryan Uber ba5c3a4c81 Update CHANGELOG.md 2015-06-23 12:34:53 -07:00
Ryan Uber d0348d1291 Merge pull request #1004 from i0rek/advertise_addrs
Add advertise_addrs.
2015-06-23 12:32:07 -07:00
Hans Hasselberg 267e0caf81 Implement advertise_addrs for SerfLan, SerfWan and RPC.
Fixes #550.
This will make it possible to configure the advertised adresses for
SerfLan, SerfWan and RPC. It will enable multiple consul clients on a
single host which is very useful in a container environment.

This option might override advertise_addr and advertise_addr_wan
depending on the configuration.

It will be configureable with advertise_addrs. Example:

{
  "advertise_addrs": {
    "serf_lan": "10.0.120.91:4424",
    "serf_wan": "201.20.10.61:4423",
    "rpc": "10.20.10.61:4424"
  }
}
2015-06-23 21:23:45 +02:00
Ryan Uber 7e63572df6 website: document -token parameter for exec/event commands 2015-06-22 17:19:07 -07:00
Ryan Uber 320ab1448d command: remote exec takes -token parameter 2015-06-22 17:16:28 -07:00
Ryan Uber 71aae88f3f command: event command supports -token arg 2015-06-22 16:59:41 -07:00
Ryan Uber a7eecda22d Update CHANGELOG.md 2015-06-22 11:14:30 -07:00
Ryan Uber cc143fa03b Merge pull request #1050 from highlyunavailable/master
Add RFC 6598 private IP range
2015-06-22 11:01:44 -07:00
Ryan Uber c8b3e48cbf website: link to check pass/fail endpoint docs from checks page 2015-06-22 10:21:50 -07:00
Tiru Srikantha b48842cf4f Add RFC 6598 private IP range
Fixes #1031 by adding 100.64.0.0/10 as a private IP range.
2015-06-19 12:20:30 -07:00
Ryan Uber 84a47947d7 website: fix event acl policy docs 2015-06-19 12:18:09 -07:00
Ryan Uber 90f5eb8f69 acl: fix spelling in tests 2015-06-19 10:20:38 -07:00
Ryan Uber 1e5a2a8960 website: add docs for user event acls 2015-06-18 18:13:29 -07:00
Ryan Uber 5bde81bcdc agent: avoid masking errors when ACLs deny a request 2015-06-18 18:13:29 -07:00
Ryan Uber beb27fb3ef agent: testing user event endpoint ACLs 2015-06-18 18:13:29 -07:00
Ryan Uber 6e084f6897 consul: always fire events from server nodes 2015-06-18 18:13:29 -07:00
Ryan Uber d5e13280a3 consul: use acl cache struct in server 2015-06-18 18:13:29 -07:00
Ryan Uber 3ef482de7f consul: split ACL cache into a reusable struct 2015-06-18 18:13:29 -07:00
Ryan Uber 6f309c355f agent: enforce event policy during event fire 2015-06-18 18:13:29 -07:00
Ryan Uber d777105c11 consul: check ACLs when firing events 2015-06-18 18:13:29 -07:00
Ryan Uber 0c624350eb acl: support for user events 2015-06-18 18:13:28 -07:00
Ryan Uber 0381e1a253 website: fix mention of read-only policy for service acls 2015-06-18 18:13:01 -07:00
James Phillips bdf7821f4d Merge pull request #1042 from hashicorp/b-broken-vagrantfile
Fixes the Vagrantfile on VMWare.
2015-06-17 10:14:16 -07:00
James Phillips df55666f09 Fixes the Vagrantfile on VMWare. 2015-06-16 16:59:55 -07:00
Ryan Breen 3090bd960c Merge pull request #1037 from siddharthist/docs/health-check-user
Specified which user health checks get run as.
2015-06-15 23:00:25 -04:00
siddharthist 2cfb45f4f8 Specified which user health checks get run as.
Fixes issue #1036
2015-06-15 21:55:05 -05:00