-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Initial release
- Loading branch information
Showing
26 changed files
with
1,147 additions
and
33 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
--- | ||
fixtures: | ||
symlinks: | ||
clickhouse: "#{source_dir}" | ||
forge_modules: | ||
stdlib: | ||
repo: 'puppetlabs/stdlib' | ||
ref: '4.20.0' | ||
apt: 'puppetlabs-apt' | ||
yumrepo: 'puppetlabs-yumrepo_core' | ||
xmlsimple: 'innogames-xmlsimple' |
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,5 @@ | ||
*.rb eol=lf | ||
*.erb eol=lf | ||
*.pp eol=lf | ||
*.sh eol=lf | ||
*.epp eol=lf |
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 @@ | ||
|
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,37 @@ | ||
[![Build Status](https://travis-ci.org/innogames/puppet-clickhouse.svg?branch=master)](https://travis-ci.org/innogames/puppet-clickhouse) | ||
# Description | ||
This module provides an easy way to install and configure ClickHouse DBMS. The easiest way to do the magic is: | ||
```puppet | ||
class { 'clickhouse': | ||
server => true, | ||
manage_repo => true, | ||
} | ||
``` | ||
|
||
# Setup | ||
The module depends on `xml-simple` gem. It allows to use `clickhouse::server::config` and `clickhouse::client::config` to manage configuration with puppet Hash. To install it execute the next command on your puppet server: | ||
```bash | ||
sudo puppetserver gem install xml-simple | ||
``` | ||
|
||
# Usage | ||
See the [examples](./REFERENCE.md#examples) | ||
|
||
# Reference | ||
**Classes** | ||
* [`clickhouse`](./REFERENCE.md#clickhouse): this class allows you to install ClickHouse DB's repo, client and server | ||
* [`clickhouse::client`](./REFERENCE.md#clickhouseclient): ClickHouse client class | ||
* [`clickhouse::repo`](./REFERENCE.md#clickhouserepo): installs repository with ClickHouse DBMS | ||
* [`clickhouse::server`](./REFERENCE.md#clickhouseserver): ClickHouse server class | ||
|
||
**Defined types** | ||
* [`clickhouse::client::config`](./REFERENCE.md#clickhouseclientconfig): generates xml config from hash via ruby xml-simple | ||
* [`clickhouse::server::config`](./REFERENCE.md#clickhouseserverconfig): generates xml config from hash via ruby xml-simple | ||
|
||
# Limitations | ||
ClickHouse does work only on UNIX-like OS. Theoretically possible to use this module on FreeBSD and Mac OS but should be checked additionally. Feel free to test and open an issue/PR. | ||
|
||
The current state of module was tested with Centos 7, Ubuntu 18.04 and Debian 9. | ||
|
||
# Development | ||
Fork this project, develop, make pull request and wait for corresponding auto tests will be done. |
Oops, something went wrong.