-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathzookeeper.json
37 lines (36 loc) · 1.32 KB
/
zookeeper.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
{
"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-bin.tar.gz",
"hash": "sha512:4c65e56c074393835dee87256d577ebef6bbc0fbe8271cf030a50779f7e9ba5110bc274aa4b239a431de1716ad6c8a103abac02b93c3ad2c264bbea8b1c330c1",
"extract_dir": "apache-zookeeper-3.5.5-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"
}
}