Skip to content

Commit

Permalink
fixsample
Browse files Browse the repository at this point in the history
  • Loading branch information
hfm committed Sep 13, 2018
1 parent 1100374 commit a87edd2
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 24 deletions.
18 changes: 9 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,17 +72,17 @@ proxysql::configs:
stacksize: 1048576
ping_interval_server_msec: 10000
mysql_servers:
address: mysql
port: 3306
hostgroup: 0
- address: mysql
port: 3306
hostgroup: 0
mysql_users:
username: root
- username: root
mysql_query_rules:
rule_id: 1
active: 1
match_pattern: '.'
log: 1
apply: 0
- rule_id: 1
active: 1
match_pattern: '.'
log: 1
apply: 0
```
## Reference
Expand Down
36 changes: 21 additions & 15 deletions manifests/init.pp
Original file line number Diff line number Diff line change
Expand Up @@ -18,21 +18,27 @@
# stacksize => 1048576,
# ping_interval_server_msec => 10000,
# },
# mysql_servers => {
# address => mysql,
# port => 3306,
# hostgroup => 0,
# },
# mysql_users => {
# username => root,
# },
# mysql_query_rules => {
# rule_id => 1,
# active => 1,
# match_pattern => '.',
# log => 1,
# apply => 0,
# },
# mysql_servers => [
# {
# address => mysql,
# port => 3306,
# hostgroup => 0,
# },
# ],
# mysql_users => [
# {
# username => root,
# },
# ],
# mysql_query_rules => [
# {
# rule_id => 1,
# active => 1,
# match_pattern => '.',
# log => 1,
# apply => 0,
# },
# ],
# },
# }
#
Expand Down

0 comments on commit a87edd2

Please sign in to comment.