Produced by Araxis Merge on 10/2/2017 1:40:11 PM Central Daylight Time. See www.araxis.com for information about Merge. This report uses XHTML and CSS2, and is best viewed with a modern standards-compliant browser. For optimum results when printing this report, use landscape orientation and enable printing of background images and colours in your browser.
| # | Location | File | Last Modified |
|---|---|---|---|
| 1 | chef-repo.zip\chef-repo\third_party_cookbooks\mysql\test\fixtures\cookbooks\mysql_replication_test\libraries | helpers.rb | Fri Oct 2 00:39:01 2015 UTC |
| 2 | chef-repo.zip\chef-repo\third_party_cookbooks\mysql\test\fixtures\cookbooks\mysql_replication_test\libraries | helpers.rb | Mon Oct 2 15:36:39 2017 UTC |
| Description | Between Files 1 and 2 |
|
|---|---|---|
| Text Blocks | Lines | |
| Unchanged | 3 | 42 |
| Changed | 2 | 8 |
| Inserted | 0 | 0 |
| Removed | 0 | 0 |
| Whitespace | |
|---|---|
| Character case | Differences in character case are significant |
| Line endings | Differences in line endings (CR and LF characters) are ignored |
| CR/LF characters | Not shown in the comparison detail |
No regular expressions were active.
| 1 | require 'c hef/mixin/ shell_out' | |
| 2 | require 's hellwords' | |
| 3 | include Ch ef::Mixin: :ShellOut | |
| 4 | ||
| 5 | def start_ slave_1 | |
| 6 | query = ' CHANGE M ASTER TO' | |
| 7 | query << " MASTER_ HOST='127. 0.0.1'," | |
| 8 | query << " MASTER_ USER='repl '," | |
| 9 | query << " MASTER_PA SSWORD='RE D A C TE D '," | |
| 10 | query << ' MASTER_PO RT= PORT ,' | |
| 11 | query << " MASTER_ LOG_POS=#{ ::File.ope n('/root/p osition'). read.chomp };" | |
| 12 | query << ' START S LAVE;' | |
| 13 | shell_ou t("echo \" #{query}\" | /usr/bi n/mysql -u root -h 1 27.0.0.1 - P3307 -p#{ Shellwords .escape('M yPa$$wordH asSpecialC hars!')}") | |
| 14 | end | |
| 15 | ||
| 16 | def start_ slave_2 | |
| 17 | query = ' CHANGE M ASTER TO' | |
| 18 | query << " MASTER_ HOST='127. 0.0.1'," | |
| 19 | query << " MASTER_ USER='repl '," | |
| 20 | query << " MASTER_PA SSWORD='RE D A C TE D '," | |
| 21 | query << ' MASTER_PO RT= PORT ,' | |
| 22 | query << " MASTER_ LOG_POS=#{ ::File.ope n('/root/p osition'). read.chomp };" | |
| 23 | query << ' START S LAVE;' | |
| 24 | shell_ou t("echo \" #{query}\" | /usr/bi n/mysql -u root -h 1 27.0.0.1 - P3308 -p#{ Shellwords .escape('M yPa$$wordH asSpecialC hars!')}") | |
| 25 | end |
Araxis Merge (but not the data content of this report) is Copyright © 1993-2016 Araxis Ltd (www.araxis.com). All rights reserved.