ScoopInstaller_Main/bucket/zookeeper.json
2019-10-16 01:00:21 +00:00

37 lines
1.3 KiB
JSON

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