ScoopInstaller_Main/bucket/zookeeper.json
2024-10-24 20:29:04 +00:00

34 lines
1.3 KiB
JSON

{
"version": "3.9.3",
"description": "High-performance coordination service for distributed applications",
"homepage": "https://zookeeper.apache.org/",
"license": "Apache-2.0",
"suggest": {
"JDK": "java/openjdk"
},
"url": "https://downloads.apache.org/zookeeper/zookeeper-3.9.3/apache-zookeeper-3.9.3-bin.tar.gz",
"hash": "sha512:d44d870c1691662efbf1a8baf1859c901b820dc5ff163b36e81beb27b6fbf3cd31b5f1f075697edaaf6d3e7a4cb0cc92f924dcff64b294ef13d535589bdaf143",
"extract_dir": "apache-zookeeper-3.9.3-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://downloads.apache.org/zookeeper/",
"regex": "zookeeper-([\\d.]+)/",
"reverse": true
},
"autoupdate": {
"url": "https://downloads.apache.org/zookeeper/zookeeper-$version/apache-zookeeper-$version-bin.tar.gz",
"hash": {
"url": "$url.sha512"
},
"extract_dir": "apache-zookeeper-$version-bin"
}
}