ScoopInstaller_Main/bucket/zookeeper.json
2019-04-30 15:37:12 +02:00

37 lines
1.2 KiB
JSON

{
"homepage": "https://zookeeper.apache.org/",
"description": "High-performance coordination service for distributed applications",
"version": "3.4.14",
"license": "Apache-2.0",
"url": "https://www.apache.org/dist/zookeeper/zookeeper-3.4.14/zookeeper-3.4.14.tar.gz",
"hash": "b14f7a0fece8bd34c7fffa46039e563ac5367607c612517aa7bd37306afbd1cd",
"extract_dir": "zookeeper-3.4.14",
"bin": [
"bin\\zkServer.cmd",
"bin\\zkCli.cmd"
],
"persist": "data",
"suggest": {
"JDK": [
"java/oraclejdk",
"java/openjdk"
]
},
"post_install": [
"$dataDirPath = (\"$dir\\data\").replace('\\', '\\\\')",
"(Get-Content \"$dir\\conf\\zoo_sample.cfg\") -Replace '^dataDir=(.+)$', \"dataDir=$dataDirPath\" | Set-Content \"$dir\\conf\\zoo.cfg\" -Encoding Ascii"
],
"checkver": {
"url": "https://www.apache.org/dist/zookeeper/",
"re": "zookeeper-([\\d.]+)/",
"reverse": true
},
"autoupdate": {
"url": "https://www.apache.org/dist/zookeeper/zookeeper-$version/zookeeper-$version.tar.gz",
"hash": {
"url": "$url.sha1"
},
"extract_dir": "zookeeper-$version"
}
}