This repository has been archived by the owner on Feb 6, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 101
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #16 from krzyzakp/master
Fixing travis/runtime errors. Adding few more config to management thanks to @krzyzakp
- Loading branch information
Showing
14 changed files
with
118 additions
and
38 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -79,3 +79,4 @@ clickhouse_config: | |
|
||
clickhouse_dicts: [] | ||
|
||
clickhouse_path_user_files: /var/lib/clickhouse/user_files/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
<?xml version="1.0"?> | ||
<!-- {{ ansible_managed }} --> | ||
<yandex> | ||
<macros> | ||
{% for key, value in clickhouse_macros.items() %} | ||
<{{ key }}>{{ value }}</{{ key }}> | ||
{% endfor %} | ||
</macros> | ||
</yandex> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
<?xml version="1.0"?> | ||
<!-- {{ ansible_managed }} --> | ||
<yandex> | ||
<remote_servers> | ||
{% for shard_name, replicas in clickhouse_shards.iteritems() %} | ||
<{{ shard_name }}> | ||
<shard> | ||
<internal_replication>true</internal_replication> | ||
{% for replica in replicas %} | ||
<replica> | ||
<host>{{ replica['host'] }}</host> | ||
<port>{{ replica['port'] | default(9000) }}</port> | ||
</replica> | ||
{% endfor %} | ||
</shard> | ||
</{{ shard_name }}> | ||
{% endfor %} | ||
</remote_servers> | ||
</yandex> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
<?xml version="1.0"?> | ||
<!-- {{ ansible_managed }} --> | ||
<yandex> | ||
<zookeeper> | ||
{% for server in clickhouse_zookeeper_nodes %} | ||
<node> | ||
{% for key, value in server.items() %} | ||
<{{ key }}>{{ value }}</{{ key }}> | ||
{% endfor %} | ||
</node> | ||
{% endfor %} | ||
</zookeeper> | ||
</yandex> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,12 @@ | ||
clickhouse_supported: yes | ||
clickhouse_repo: "deb http://repo.yandex.ru/clickhouse/deb/stable/ main/" | ||
clickhouse_repo_old: "deb http://repo.yandex.ru/clickhouse/xenial stable main" | ||
clickhouse_repo_keyserver: keyserver.ubuntu.com | ||
clickhouse_repo_key: E0C56BD4 | ||
clickhouse_package: | ||
- clickhouse-client | ||
- clickhouse-server-base | ||
- clickhouse-server-common | ||
- clickhouse-common-static | ||
- clickhouse-server | ||
clickhouse_path_configdir: "/etc/clickhouse-server" | ||
clickhouse_path_logdir: "/var/log/clickhouse-server" | ||
clickhouse_path_data: "/var/lib/clickhouse/" | ||
clickhouse_path_tmp: "/var/lib/clickhouse/tmp/" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
clickhouse_supported: yes | ||
clickhouse_repo: "deb http://repo.yandex.ru/clickhouse/deb/stable/ main/" | ||
clickhouse_repo_keyserver: keyserver.ubuntu.com | ||
clickhouse_repo_key: E0C56BD4 | ||
clickhouse_package: | ||
- clickhouse-client | ||
- clickhouse-common-static | ||
- clickhouse-server | ||
clickhouse_path_configdir: "/etc/clickhouse-server" | ||
clickhouse_path_logdir: "/var/log/clickhouse-server" | ||
clickhouse_path_data: "/var/lib/clickhouse/" | ||
clickhouse_path_tmp: "/var/lib/clickhouse/tmp/" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters