Commit Graph

517 Commits

Author SHA1 Message Date
Evan Broder ee6d59d4dd Add "only_passing" option to DNS config
This excludes nodes from DNS results if their healthchecks are in any
non-passing state, not just if they're critical.
2015-01-10 13:17:11 +01:00
Nicholas Capo fb5ba8d97d command/agent: Add simple HTTP check type
These checks make an `HTTP GET` request every Interval to the specified URL.
The status of the service depends on the HTTP Response Code.
`200` is passing, `503` is warning and anything else is failing.
2015-01-09 16:43:24 -06:00
Emil Hessman 880e21837c website: omit excessive use of the word lastly
Simplify wording by removing various uses of the word lastly.
2015-01-09 06:37:26 +01:00
Emil Hessman 91c2939294 website: fix typo
s/patameters/parameters/
2015-01-09 05:59:06 +01:00
Armon Dadgar a4db77df11 website: Documenting ?cas with KV DELETE 2015-01-08 17:34:41 -08:00
Armon Dadgar 1abce8cddf website: Updating the documentation 2015-01-08 12:08:29 -08:00
Armon Dadgar f1bbda3761 website: Document session behavior and TTL 2015-01-07 15:38:16 -08:00
Armon Dadgar 401437ca1f website: Update session API documentation 2015-01-07 15:19:27 -08:00
Armon Dadgar b3f974dee0 website: Link to consul-replicate. Fixes #439 2015-01-07 13:30:30 -08:00
Armon Dadgar f86d7c3a09 Merge pull request #558 from ceh/http-api-response-headers
add ability to specify response headers on the HTTP API
2015-01-05 11:36:08 -08:00
Armon Dadgar 0095cf5130 Merge pull request #568 from justinclayton/patch-1
Update exec.html.markdown
2015-01-05 11:29:11 -08:00
Emil Hessman bf0e284756 website: fix typo, casing and links
Fix typo in Leader Election guide: s/blog/blob/

Also fix various casing issues and prefer HTTPS links
for HashiCorp projects.
2015-01-04 12:58:58 +01:00
Seth Vargo 6ad5a7e025 Clearfix all the bio pages 2015-01-02 16:35:45 -05:00
Seth Vargo 3768bff085 Disable rack rewrite 2015-01-02 16:31:03 -05:00
Justin Clayton 132a517d88 Update exec.html.markdown
fixing near-meaningless spelling and grammar typos ;-)
2015-01-02 10:30:11 -08:00
Armon Dadgar 6d68988b51 Merge pull request #563 from hashicorp/sethvargo/update_docs
Update middleman docs
2015-01-02 21:55:27 +05:30
Armon Dadgar 73eeb2566e Merge pull request #556 from darron/master
Docs: It's not key - it's service.
2015-01-02 21:54:53 +05:30
Thordur Bjornsson 5ef79e747e Revert "correct the doc for obtaining formatted json"
This reverts commit cf3b9ec4fe.
2015-01-02 08:00:09 +01:00
Seth Vargo 71bd154293 Make app private 2014-12-30 13:49:59 -05:00
Seth Vargo 9f8b46b828 Move IE compat into middleman-hashicorp 2014-12-30 13:45:15 -05:00
Seth Vargo 6b9e1a818a Update gems to latest versions 2014-12-30 13:18:33 -05:00
Seth Vargo 49d29bc937 Update titles to be consistent with other sites 2014-12-30 13:18:25 -05:00
Emil Hessman cb764c35e5 add ability to specify response headers on the HTTP API
Add an config object that allows adding HTTP header response fields to every
HTTP API response.

Each specified header is added to every response from all HTTP API endpoints.
Each individual endpoint may overwrite the specified header, which makes sure
that Consul headers such as 'X-Consul-Index' is enforced by the API.
2014-12-28 19:17:08 +01:00
darron froese a5ba33ae06 It's not key - it's service.
It's right in the description, but the example seems to be wrong.
2014-12-26 21:51:48 -08:00
Armon Dadgar c728cb7cde Merge pull request #543 from lyrixx/patch-2
[DOC] Rework downloads_tools and add PHP SDK
2014-12-16 21:59:30 -08:00
lalyos 89f271a9da Add default rpc address configuration option as CONSUL_RPC_ADDR env variable
Similar as in serf: https://github.com/hashicorp/serf/pull/210
2014-12-16 12:18:34 +01:00
Grégoire Pineau 2a77a68b81 [DOC] Rework downloads_tools and add PHP SDK 2014-12-16 11:27:45 +01:00
Anton Lindström 272ef2f708 Add helios-consul to community tools page 2014-12-15 12:47:57 +01:00
Michael H. Oshita a03436e4b2 minor grammer fix 2014-12-11 19:02:29 +09:00
Lars Kellogg-Stedman 37b23a03e4 updates to leader election documentation
Clarify the steps involved in the leader election process.

- provide examples of creating a session
- provide links to appropriate documentation
2014-12-05 14:28:21 -05:00
Clint Shryock 042a523c14 Small doc update for exec command
the documentation for -tag says it must be used with -service, but
example used is -server, which doesn't work.

This changes -server to -service.
2014-12-03 22:46:26 -06:00
Armon Dadgar cafba93869 consul: Enforce service registration ACLs 2014-11-30 21:05:15 -07:00
Armon Dadgar 4c410cf1f9 website: Update ACL docs 2014-11-30 20:12:44 -07:00
Dan Frost 284814a515 docs: agent/watches: minor fixes 2014-11-26 13:48:33 +00:00
Dan Frost 1b94c804f3 docs: agent/checks: minor fixes 2014-11-26 13:42:53 +00:00
Dan Frost 65ffbed02e docs: agent/dns: minor fixes 2014-11-26 13:33:55 +00:00
Dan Frost 3bbb226e2b docs: agent/basics: minor fixes 2014-11-26 13:15:41 +00:00
Dan Frost 84ac7fee60 docs: internals/security: minor fixes 2014-11-26 13:05:33 +00:00
Dan Frost 738ade9df8 docs: internals/acl: minor fixes 2014-11-26 12:57:15 +00:00
Dan Frost 169222eb5b docs: internals/sessions: minor fixes 2014-11-26 12:49:53 +00:00
Dan Frost e524686d6f docs: internals/architecture: minor fixes 2014-11-26 12:31:38 +00:00
Dan Frost f65f889b0a docs: compatibility: minor fixes 2014-11-26 12:09:36 +00:00
Dan Frost e1f8be11a3 docs: intro/kv: minor fixes 2014-11-26 12:00:49 +00:00
Dan Frost f1d6eef5be docs: intro/checks: minor fixes 2014-11-26 11:55:42 +00:00
Dan Frost bab6fc90fa docs: intro/join: minor fixes 2014-11-26 11:49:39 +00:00
Dan Frost 3ed05e2a43 docs: intro/services: minor fixes 2014-11-26 11:42:02 +00:00
Dan Frost f863a24e37 docs: intro/agent: minor fixes 2014-11-26 11:37:28 +00:00
Ryan Uber f126bb7381 website: Improve docs for reloading config. Fixes #407 2014-11-25 19:03:14 -08:00
Jack Pearkes d72a3dad36 website: load fonts over https 2014-11-25 11:02:49 -05:00
Brandon Wilson cf3b9ec4fe correct the doc for obtaining formatted json
was "?pretty" should be "?pretty=1"
2014-11-21 12:27:48 -08:00
Ryan Uber ab5fbe4094 agent: ignore -encrypt if provided when keyring exists 2014-11-19 16:37:40 -08:00
Ryan Uber 80c25e3320 website: document new behavior of the -encrypt option 2014-11-19 16:36:01 -08:00
Ryan Uber 7a74f559b9 command: remove -init argument from keyring, auto-persist keyrings when using agent -encrypt 2014-11-19 16:35:13 -08:00
Ryan Uber 7e0af5153f website: clean up keyring command docs and add output examples 2014-11-19 16:34:18 -08:00
Ryan Uber daf77c3f5b command/keyring: cleanup 2014-11-19 16:34:18 -08:00
Ryan Uber 9d01174521 consul: kill unused struct fields 2014-11-19 16:34:17 -08:00
Ryan Uber cfbf2b4f94 command: allow wan ring to be modified separately from lan pools 2014-11-19 16:33:34 -08:00
Ryan Uber c52997c95b website: documentation updates for keyring command 2014-11-19 16:32:06 -08:00
Ryan Uber 026ebcef58 website: remove keyring persistence options from agent page 2014-11-19 16:31:06 -08:00
Ryan Uber 67d78628a3 command: renamed keys to keyring to disambiguate usage 2014-11-19 16:31:06 -08:00
Ryan Uber cea2b49c15 website: update consul keys documentation 2014-11-19 16:30:22 -08:00
Ryan Uber 6b41e98964 website: document keys command 2014-11-19 16:30:22 -08:00
Armon Dadgar 6be29e17c2 Merge pull request #478 from amalaviy/https
Added HTTPS support via a new HTTPS Port configuration option
2014-11-19 11:17:10 -08:00
Atin Malaviya 0904c651a8 Change names to StartJoinWan, RetryJoinWan etc 2014-11-17 17:14:59 -05:00
Atin Malaviya f4fd8453ed Added HTTPS support via a new HTTPS Port configuration option similar to the HTTP Port. 2014-11-17 14:29:35 -05:00
Atin Malaviya 5b41170f47 Add start-wan-join, retry-wan-join and related configuration options and commandline options 2014-11-14 10:56:39 -05:00
Laurent Raufaste 6e69b3e40d Another typo 2014-11-13 17:44:20 -05:00
Laurent Raufaste 7f73e03b0b extra ' 2014-11-13 17:43:25 -05:00
Laurent Raufaste 29aaffdc37 Doc explaining the blacklist mode and consul exec 2014-11-13 17:42:39 -05:00
Ryan Uber 3facf1bdf4 website: better description of config merging in agent options. Closes #470 2014-11-13 12:04:09 -08:00
Grégoire Pineau b3ef4b8881 [Doc] Added missing link to leader-election 2014-11-13 16:56:07 +01:00
Jamey Owens 8c5bf1ca25 Typo fix for events command doc 2014-11-10 16:37:18 -05:00
Neil Taylor dee778610f improved Parallax scrolling performance in webkit 2014-11-05 12:08:35 -05:00
Danny Berger 3da9291ae1 Fix some typos in website docs 2014-11-04 21:33:42 -07:00
Armon Dadgar cd936793ad Support old recursor config for backwards compatibility 2014-11-03 11:28:21 -08:00
Armon Dadgar 632bbcdd54 Merge pull request #448 from foostan/multiple_recursor
Add multiple recursor definition support
2014-11-03 11:18:37 -08:00
foostan 35b006d884 Add multiple recursor definition support 2014-11-01 04:26:26 +09:00
Laurent Raufaste 26916b03e6 Rephrase 2014-10-30 21:46:19 -04:00
Laurent Raufaste 33c0de708d ACL doc clarification
Fixes #443
2014-10-30 21:44:23 -04:00
Tom Lanyon d3a3ccb257 website: fix download link for web UI in intro guide. 2014-10-28 15:21:32 +10:30
Ryan Uber 1756d14e01 Merge pull request #433 from hashicorp/f-multi-checks
agent: add support for multiple checks and config mixing
2014-10-27 11:58:36 -07:00
Ryan Uber d472825181 website: fix JSON in multiple checks documentation 2014-10-27 11:58:01 -07:00
Seth Vargo 2a4bb1bdf7 Force a bundle update for rack-rewrite 2014-10-27 11:02:02 -04:00
Seth Vargo d1a0adf6ca Do not index "Jespen" code block
The word "Jespen" is one of our top keywords because it appears so many times
in the Jespen Testing page. This commit adds a comment to disable Google
indexing in that code block so we can better target keywords.
2014-10-26 22:34:14 -04:00
Seth Vargo cd7dca5f02 Redirect old WebUI downloads page to new one
There are currently a number of sites on the Internet that link to the old
downloads_web_ui.html page, including some popular blog posts. Since the WebUI
has been moved onto the Consul page itself, these links are now broken.

This commit adds a 301 (to preserve SEO) redirect from the old page to the new
one.
2014-10-26 22:21:45 -04:00
Ryan Uber f03bbb8daa website: update docs for multiple checks in config 2014-10-26 13:25:48 -07:00
Alexander Simmerl 461c1e18a5 Add multiple service definition support
This change-set adds another key to the configuration decoding called
`services`, which is expected to be a list of service definitions. It
follows the established convention of only allowing one of the keys:
`service`, `check`, `services`. For every entry in the list it calls
the corresponding decode method and appends it to the Servics of the
resulting Config.

While a similar result could be achieved with changing the Services
member of the Config struct to have named mapstruct tag it lacks the
proper time conversions provided by DecodeServiceDefinition.
2014-10-23 22:50:40 -04:00
Armon Dadgar 21c3e606a2 website: Fixing formatting 2014-10-23 17:14:40 -07:00
Armon Dadgar c7d5330471 Merge pull request #427 from blalor/agent_http_links
website: Improve navigability of agent HTTP API categories
2014-10-23 16:46:58 -07:00
Ryan Uber 805a9f7ec2 website: document retry_join and retry_interval flags for config file 2014-10-23 16:40:49 -07:00
Laurent Raufaste cba968ad4d Small typo in the doc 2014-10-23 14:32:11 -04:00
Brian Lalor 914db50a52 Add links for status endpoints 2014-10-23 07:59:58 -04:00
Brian Lalor dd251dd323 Add links for event endpoints 2014-10-23 07:59:05 -04:00
Brian Lalor f09d1b32c9 Add links for ACL endpoints 2014-10-23 07:57:55 -04:00
Brian Lalor 8d6b8f4309 Add links for session endpoints 2014-10-23 07:56:28 -04:00
Brian Lalor 03be420bce Add links for health endpoints 2014-10-23 07:54:46 -04:00
Brian Lalor c7125bad12 Add links for catalog endpoints 2014-10-23 07:53:11 -04:00
Brian Lalor 98ebb94afa Add links for agent endpoints 2014-10-23 07:50:54 -04:00
Brian Lalor 351d722a15 Improve navigability of agent HTTP API categories 2014-10-23 07:44:20 -04:00
Leo Cassarani 64f710518f Fix spelling of "separator" in the HTTP API docs 2014-10-23 12:31:41 +01:00
Seth Vargo cb4b11e899 Create unified "Consul Tools" page to showcase our tools and the communities 2014-10-21 18:22:53 -04:00
Seth Vargo b022a64f2a Fix the duplicate navigation active classes 2014-10-21 16:42:38 -04:00
Seth Vargo 880417397c Fix small typo in link 2014-10-21 16:38:44 -04:00
Seth Vargo f3b5fb3962 Fix copy-paste fail 2014-10-21 16:32:58 -04:00
Jack Pearkes 3a9dfad7a4 Merge pull request #416 from hashicorp/sethvargo/download_consul_template
Add Consul Template to the download list
2014-10-21 16:32:18 -04:00
Seth Vargo 42b00a856e Add Consul Template to the download list 2014-10-21 16:24:00 -04:00
Armon Dadgar 66fbf95b79 website: Fixing link to demo cluster 2014-10-20 13:18:24 -07:00
Armon Dadgar 885b2d9fb1 Bump website version 2014-10-20 10:42:06 -07:00
Erik Dubbelboer 5b4be8fd98 Fix small doc mistake 2014-10-20 06:26:38 +00:00
Seth Vargo a623b4340a Update gems to latest versions 2014-10-19 19:42:41 -04:00
Seth Vargo 869b194127 Use new Markdown syntaxes and add SEO descriptions 2014-10-19 19:42:13 -04:00
Seth Vargo af756f1ea6 Use a description attribute for HTML descriptions 2014-10-19 19:41:12 -04:00
Seth Vargo 64c5a4f157 Import fonts in CSS instead of HTML 2014-10-19 19:41:12 -04:00
Seth Vargo 3712748441 Move more javascript into the footer 2014-10-19 19:41:12 -04:00
Seth Vargo 281ca84d88 Cleanup header HTML 2014-10-19 19:41:12 -04:00
Seth Vargo 283c7c1c46 Add robots.txt and sitemap 2014-10-19 19:41:12 -04:00
Seth Vargo b5d5af813a Do not underline API doc links 2014-10-19 19:41:11 -04:00
Seth Vargo b0045c4e13 Remove prettify css 2014-10-19 19:41:11 -04:00
Seth Vargo 302789bf76 Use codeblocks for code 2014-10-19 19:41:11 -04:00
Seth Vargo a00b32dca2 Remove highlighting javascript files 2014-10-19 19:41:11 -04:00
Seth Vargo bdc28e8dfe Remove unused font file 2014-10-19 19:41:11 -04:00
Armon Dadgar dfec300fa4 Merge pull request #398 from hashicorp/ryanuber-docs
website: Documentation adjustments
2014-10-14 12:01:40 -07:00
Ryan Uber 7e598d8545 website: re-word a few things 2014-10-13 22:59:35 -07:00
Armon Dadgar d5e1c30d9b website: Document Checkpoint. Fixes #340. 2014-10-13 18:03:39 -07:00
Armon Dadgar e7326d089e website: Adding FAQ page. Fixes #363. 2014-10-13 17:46:41 -07:00
Ryan Uber 06cb3774ab website: add 0.4 to compatibility chart 2014-10-13 14:22:57 -07:00
Armon Dadgar bee5fe280c Merge pull request #396 from ryanuber/f-retry-join
agent: Retry failed joins on agent start
2014-10-13 10:46:10 -07:00
Ryan Uber bec34b0c46 website: document retry join 2014-10-12 12:31:47 -07:00
Theo Hultberg 5560d2700b Fix mistake in the watches documentation 2014-10-11 17:04:52 +02:00
Seth Vargo eacb324188 Consul does not have prefixed packages (yet) 2014-10-06 20:31:57 -04:00
Seth Vargo 40e8bfb54b Update extension version 2014-10-06 19:32:37 -04:00
Seth Vargo 956b81f788 Update WebUI download link 2014-10-06 19:22:50 -04:00
Seth Vargo 2277137560 Remove glyphicons (vendored in extension) 2014-10-06 19:22:39 -04:00
Seth Vargo fcd86a4721 Use middleman-hashicorp :) 2014-10-06 19:15:01 -04:00
Seth Vargo 13ca50102c Move sidebar helper inline 2014-10-06 19:13:22 -04:00
Seth Vargo fb5aa46b76 Include one javascript file and use sprockets 2014-10-06 19:13:08 -04:00
Seth Vargo 0b35de2db7 Update config.ru to cache everything at /assets 2014-10-06 19:12:53 -04:00
Seth Vargo fd3e4f8040 Pre-process Consul UI docs as ERB for image tags 2014-10-06 19:12:34 -04:00
Seth Vargo 0771499761 Pre-process sessions docs as ERB for image tags 2014-10-06 19:12:25 -04:00
Seth Vargo 7903a55dd1 Pre-process architecture docs as ERB for image tags 2014-10-06 19:12:17 -04:00
Seth Vargo 1927f48598 Remove Gruntfile 2014-10-06 19:11:52 -04:00
Seth Vargo 2d01fce61a Remove download_helpers helper 2014-10-06 19:00:51 -04:00
Seth Vargo 2df6bfc225 Update website to use the latest middleman and other gems 2014-10-03 17:43:49 -07:00
Seth Vargo 111372be84 Remove dummy and version files (@pearkes said so) 2014-10-03 17:43:31 -07:00
Alex Wheeler bb613cf467 Added the dns_config option enable_truncate to the docs. 2014-09-30 15:31:28 -04:00
Armon Dadgar 6d4b8bbd56 website: fixing formatting 2014-09-24 16:59:43 -07:00
Armon Dadgar f4364b1d52 Merge pull request #358 from SnehaM/master
Documenation fix : reload command
2014-09-23 08:19:44 -07:00
Christian Berg 28fc0fd912 Fix typo
Should be whitelist, not whilelist.
2014-09-23 15:24:19 +02:00
Sneha More fe85e58bc6 reload command triggers reload 2014-09-23 12:52:09 +05:30
Sneha More 5d6391904a removed repeated 'can' 2014-09-18 11:11:00 +05:30