ScoopInstaller_Main/bucket/zookeeper.json
2020-02-14 13:01:51 +00:00

37 lines
1.3 KiB
JSON

{
"homepage": "https://zookeeper.apache.org/",
"description": "High-performance coordination service for distributed applications",
"version": "3.5.7",
"license": "Apache-2.0",
"url": "https://www.apache.org/dist/zookeeper/zookeeper-3.5.7/apache-zookeeper-3.5.7-bin.tar.gz",
"hash": "sha512:b9baa1ecb3d4dc0ef648ce7c74da4c5267ee89534c7614b8f27d3b0bc52004dcfbb8cecec810ffb7c8c45053daf8a5e849ce60ba241280fa1e2ab1d3b4990494",
"extract_dir": "apache-zookeeper-3.5.7-bin",
"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/apache-zookeeper-$version-bin.tar.gz",
"hash": {
"url": "$url.sha512"
},
"extract_dir": "apache-zookeeper-$version-bin"
}
}