You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: lib/puppet/provider/mysql_datadir/mysql.rb
+3-3
Original file line number
Diff line number
Diff line change
@@ -41,16 +41,16 @@ def create
41
41
end
42
42
43
43
if mysqld_version.nil?
44
-
debug("Installing MySQL data directory with mysql_install_db #{defaults_extra_file} --basedir=#{basedir} --datadir=#{datadir} --user=#{user}")
44
+
debug("Installing MySQL data directory with mysql_install_db #{opts.compact.join(" ")}")
45
45
mysql_install_db(opts.compact)
46
46
else
47
47
if (mysqld_type == "mysql" or mysqld_type == "percona") and Puppet::Util::Package.versioncmp(mysqld_version, '5.7.6') >= 0
48
-
debug("Initializing MySQL data directory >= 5.7.6 with 'mysqld #{defaults_extra_file}#{initialize} --basedir=#{basedir} --datadir=#{datadir} --user=#{user}'")
49
48
opts<<"--log-error=#{log_error}"
50
49
opts<<"#{initialize}"
50
+
debug("Initializing MySQL data directory >= 5.7.6 with mysqld: #{opts.compact.join(" ")}")
51
51
mysqld(opts.compact)
52
52
else
53
-
debug("Installing MySQL data directory with mysql_install_db #{defaults_extra_file} --basedir=#{basedir} --datadir=#{datadir} --user=#{user}")
53
+
debug("Installing MySQL data directory with mysql_install_db #{opts.compact.join(" ")}")
0 commit comments