Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class profile::ch {
- class { 'clickhouse':
- remote_servers => {
- push => {
- 1 => {
- options => { weight => '1', internal_replication => true, },
- replicas => {
- 1 => { host => 'ch-n1', port => '9000', },
- 2 => { host => 'ch-n4', port => '9000', },
- },
- },
- 2 => {
- options => { weight => '1', internal_replication => true, },
- replicas => {
- 1 => { host => 'ch-n3', port => '9000', },
- 2 => { host => 'ch-n6', port => '9000', },
- },
- },
- 3 => {
- options => { weight => '1', internal_replication => true, },
- replicas => {
- 1 => { host => 'ch-n5', port => '9000', },
- 2 => { host => 'ch-n2', port => '9000', },
- },
- },
- },
- },
- zookeeper => {
- 1 => { host => 'z-n1', port => '2181', },
- 2 => { host => 'z-n2', port => '2181', },
- 3 => { host => 'z-n3', port => '2181', },
- },
- users => {
- sspsmaclick => {
- password => '123123',
- networks => [ '127.0.0.1', '10.200.0.1', '192.168.12.0/24' ],
- allow_databases => [ 'ssp_db', 'ssp_db_shard', 'ssp_db_buffer' ],
- },
- },
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement