Puppet Class: clickhouse_keeper::repo
- Defined in:
-
manifests/repo.pp
Summary
Installs repository for Clickhouse.
Overview
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
|
# File 'manifests/repo.pp', line 6
class clickhouse_keeper::repo {
if $clickhouse_keeper::manage_repo {
case $facts['os']['family'] {
default: {
fail("${facts['os']['family']} is not supported (yet).")
}
'Debian': {
apt::source { 'clickhouse':
location => 'https://packages.clickhouse.com/deb',
release => 'stable main',
repos => '',
key => {
id => '3A9EA1193A97B548BE1457D48919F6BD2B48D754',
server => 'hkp://keyserver.ubuntu.com:80',
},
}
}
'RedHat': {
yumrepo { 'clickhouse':
name => 'clickhouse',
descr => 'Clickhouse Stable',
baseurl => 'https://packages.clickhouse.com/rpm/stable/',
enabled => 1,
gpgcheck => 0,
gpgkey => 'https://packages.clickhouse.com/rpm/stable/repodata/repomd.xml.key',
}
}
}
}
}
|