Skip to content

Commit

Permalink
update README
Browse files Browse the repository at this point in the history
  • Loading branch information
MaxFedotov committed Sep 1, 2018
1 parent 08c8583 commit bb9d094
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions README.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -34,12 +34,12 @@ The module requires Puppet 4.x and currently supports only Debian 8 "Jessie" (an
### Beginning with proxysql

To install the ProxySQL software with all the default options:
```
```puppet
include ::proxysql
```

You can customize options such as (but not limited to) `listen_port`, `admin_password`, `monitor_password`, ...
```
```puppet
class { '::proxysql':
listen_port => 3306,
admin_password => '654321',
Expand All @@ -60,7 +60,7 @@ You can customize options such as (but not limited to) `listen_port`, `admin_pas
```

You can configure users\hostgroups\rules\schedulers using class parameters
```
```puppet
class { '::proxysql':
mysql_servers => [ { 'db1' => { 'port' => 3306,
'hostgroup_id' => 1, } },
Expand All @@ -87,7 +87,7 @@ You can configure users\hostgroups\rules\schedulers using class parameters
```

Or by using individual resources:
```
```puppet
class { '::proxysql':
listen_port => 3306,
admin_password => 'SuperSecretPassword',
Expand Down Expand Up @@ -165,7 +165,7 @@ Or by using individual resources:
```

On `Yum` based systems you can do and the module will install ProxySQL from the Percona repo's.
```
```puppet
class { '::proxysql':
listen_port => 3306,
admin_password => '654321',
Expand All @@ -182,7 +182,7 @@ Configuration is done by the `proxysql` class.

You can override any configuration setting by using the `override_config_settings` hash. This hash resembles the structure of the `proxysql.cnf` file

```
```puppet
{
admin_variables => {
refresh_interval => 2000,
Expand Down

0 comments on commit bb9d094

Please sign in to comment.