ScoopInstaller_Main/bucket/zookeeper.json
2019-05-27 11:58:51 -04:00

37 lines
1.3 KiB
JSON

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