update version numbers in shield documentation to 2.1.0

Cherry-pick of commit to 2.0 and updated to change version to 2.1.0

Original commit: elastic/x-pack-elasticsearch@8672bbf1b1
This commit is contained in:
jaymode 2015-08-24 09:52:33 -04:00
parent 31f3830cf7
commit f879ccf426
5 changed files with 19 additions and 13 deletions

View File

@ -15,7 +15,7 @@ To use the transport client with Shield, you need to:
`transport_client` role is defined in `roles.yml` that grants the `cluster:monitor/nodes/info` cluster permission. The transport client uses the node info API to fetch information about the nodes in the cluster. If the client is configured to use sniffing, you need to add the
`cluster:monitor/state` cluster permission to the `transport_client` role.
. Add the Shield JAR file (`elasticsearch-shield-2.0.0.jar`) to your CLASSPATH. You can download the Shield distribution and extract the JAR file manually or you can get it from the http://maven.elasticsearch.org/releases/org/elasticsearch/plugin/elasticsearch-shield/2.0.0/elasticsearch-shield-2.0.0.jar[Elasticsearch Maven repository].
. Add the Shield JAR file (`shield-2.1.0.jar`) to your CLASSPATH. You can download the Shield distribution and extract the JAR file manually or you can get it from the http://maven.elasticsearch.org/releases/org/elasticsearch/plugin/shield/{version}/shield-{version}.jar[Elasticsearch Maven repository].
+
If you are using Maven, you need to add the Shield JAR file as a dependency in your project's `pom.xml` file:
+
@ -43,8 +43,8 @@ If you are using Maven, you need to add the Shield JAR file as a dependency in y
<!-- add the shield jar as a dependency -->
<dependency>
<groupId>org.elasticsearch.plugin</groupId>
<artifactId>elasticsearch-shield</artifactId>
<version>2.0.0</version>
<artifactId>shield</artifactId>
<version>2.1.0</version>
</dependency>
...
</dependencies>
@ -69,7 +69,7 @@ repositories {
dependencies {
// Provide the Shield jar on the classpath for compilation and at runtime
// Note: Many projects can use the Shield jar as a runtime dependency
compile "org.elasticsearch.plugin:elasticsearch-shield:2.0.0"
compile "org.elasticsearch.plugin:shield:2.1.0"
/* ... */
}

View File

@ -2,7 +2,7 @@
== Getting Started with Shield
This getting started guide walks you through installing Shield, setting up basic authentication, and getting started with role-based
access control. You can install Shield on nodes running Elasticsearch 1.5 or later.
access control. You can install Shield on nodes running Elasticsearch {version}.
IMPORTANT: The Shield plugin must be installed on every node in the cluster and every
node must be restarted after installation. Plan for a complete cluster restart before beginning the installation process.

View File

@ -3,6 +3,7 @@
= Shield Reference
:ref: http://www.elastic.co/guide/en/elasticsearch/reference/current
:version: 2.1.0
include::introduction.asciidoc[]

View File

@ -9,11 +9,11 @@ node must be restarted after installation. Plan for a complete cluster restart b
[float]
=== Shield Installation Prerequisites
To install Shield 2.x, you need:
To install Shield {version}, you need:
* Java 7 or later
* Elasticsearch 2.x
* Elasticsearch License plugin 2.x
* Elasticsearch {version}
* Elasticsearch License plugin {version}
For information about installing the latest Oracle JDK, see http://www.oracle.com/technetwork/java/javase/downloads/index-jsp-138363.html[Java SE Downloads]. For information about installing Elasticsearch, see http://www.elastic.co/guide/en/elasticsearch/reference/current/_installation.html[Installation] in the Elasticsearch Reference.
@ -62,8 +62,8 @@ To install Shield on a machine that doesn't have Internet access:
+
[source,shell]
----------------------------------------------------------
bin/plugin -i license -u file:///path/to/file/license-latest.zip <1>
bin/plugin -i watcher -u file:///path/to/file/shield-1.3.2.zip
bin/plugin -i license -u file:///path/to/file/license-2.1.0.zip <1>
bin/plugin -i shield -u file:///path/to/file/shield-2.1.0.zip
----------------------------------------------------------
<1> Note that you must specify an absolute path to the zip file after the `file://` protocol.

View File

@ -4,10 +4,10 @@
[float]
[[version-compatibility]]
=== Version Compatibility
Shield 2.x is compatible with:
Shield {version} is compatible with:
* Elasticsearch: 2.x
* License plugin: 2.x
* Elasticsearch: {version}
* License plugin: {version}
[float]
[[upgrade-instructions]]
@ -41,6 +41,11 @@ version of Shield. We recommend copying the changes listed below to your `roles.
[[changelist]]
=== Change List
[float]
==== 2.0.0-beta1
This release is primarily for compatibility with Elasticsearch 2.0.0-beta1.
[float]
==== 1.3.2