ScoopInstaller_Main/bucket/zookeeper.json
2023-10-09 12:30:37 +00:00

34 lines
1.3 KiB
JSON

{
"version": "3.9.1",
"description": "High-performance coordination service for distributed applications",
"homepage": "https://zookeeper.apache.org/",
"license": "Apache-2.0",
"suggest": {
"JDK": "java/openjdk"
},
"url": "https://www.apache.org/dist/zookeeper/zookeeper-3.9.1/apache-zookeeper-3.9.1-bin.tar.gz",
"hash": "sha512:6a1c56557ee8de63dc0730de6c55640afa8ae9043e57539fed393120fe3adfb7f30a6ac13af0a6331ff34ba9c6f2b31e41e40c5446e669651522fffb9ce64e48",
"extract_dir": "apache-zookeeper-3.9.1-bin",
"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"
],
"bin": [
"bin\\zkServer.cmd",
"bin\\zkCli.cmd"
],
"persist": "data",
"checkver": {
"url": "https://www.apache.org/dist/zookeeper/",
"regex": "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"
}
}