Skip to content

Commit

Permalink
implement issue #309
Browse files Browse the repository at this point in the history
  • Loading branch information
cyberflow committed May 19, 2015
1 parent 1d4b921 commit 3f40f00
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions attributes/default.rb
Expand Up @@ -177,6 +177,7 @@
default["percona"]["server"]["replication"]["ssl_enabled"] = false
default["percona"]["server"]["replication"]["suppress_1592"] = false
default["percona"]["server"]["replication"]["skip_slave_start"] = false
default["percona"]["server"]["replication"]["replication_sql"] = "/etc/mysql/replication.sql"

# XtraBackup Settings
default["percona"]["backup"]["configure"] = false
Expand Down
2 changes: 1 addition & 1 deletion recipes/replication.rb
Expand Up @@ -6,8 +6,8 @@
require "shellwords"

passwords = EncryptedPasswords.new(node, node["percona"]["encrypted_data_bag"])
replication_sql = "/etc/mysql/replication.sql"
server = node["percona"]["server"]
replication_sql = server["replication"]["replication_sql"]

# define access grants
template replication_sql do
Expand Down

0 comments on commit 3f40f00

Please sign in to comment.