These will be used to unify the label namespaces in embedded plists,
i.e. 'homebrew.mxcl.<formula>'.
plist_path returns the full path to a plist file located at the top
level of the keg; plist_path.basename can be used if just the filename
is needed.
c.f. Homebrew/homebrew#9346.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
* Update formula's install to move JARs to libexec as preferred
* Update scripts use prefix for ES_HOME and update ES_CLASSPATH paths
to use libexec instead of lib
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
This commit introduces couple of breaking, but important changes for
ElasticSearch:
1. The cluster is given a reasonably unique, though human-friendly name,
based on the current user login name (`ENV['USER']`). This minimizes
conflicts and dubious [MasterNotDiscoveredException] errors when running
a development cluster eg. within an office, on multiple workstations,
with open firewalls.
2. This means the _path to data has changed_ and users will have to move
it manually to new location. It should be safe to do so, while ES is not
running.
3. The log files location also changed to a more appropriate one.
4. Standard error and ouput streams were redirected to /dev/null within
the `plist` definition, since ES provides enough logging already.
The changes should be forward compatible with the complete rewrite of ES
config file in <https://github.com/elasticsearch/elasticsearch/blob/master/config/elasticsearch.yml>.
ClosesHomebrew/homebrew#7946.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Also:
* moved data and logs properly into /usr/local/var
* added configuration file, added plist and instruction
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
* Use new "url" features
* Use keg_only DSL
* Use "skip_clean :all" DSL
* Whitespace and style cleanups
* Make bash invocations less silly
* Use new man2-man8 helpers
* Remove "FileUtils." since it is included in Formula
* Use real names for deps instead of aliases
* ENV.x11 now updates path, so remove that from individual brews