Skip to content

Commit c9c5eb3

Browse files
committed
(#MODULES-1058) root_password.pp cannot create /root/.my.cnf due to dependency
The dependency of creating the root .my.cnf file is a command which requires the .my.cnf file. This patch removes that dependency. Without removing the dependency, if a user already has a mysql server installed with a root password and no root .my.cnf file, the module application will fail.
1 parent 74e1969 commit c9c5eb3

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

manifests/server/root_password.pp

-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@
1414
content => template('mysql/my.cnf.pass.erb'),
1515
owner => 'root',
1616
mode => '0600',
17-
require => Mysql_user['root@localhost'],
1817
}
1918
}
2019

0 commit comments

Comments
 (0)