diff --git a/conf/type/__mysql_server/manifest b/conf/type/__mysql_server/manifest index a9d5127c..da7e0165 100755 --- a/conf/type/__mysql_server/manifest +++ b/conf/type/__mysql_server/manifest @@ -25,6 +25,6 @@ __package mysql-server --state installed # store the root password in /root/.my.cnf so that processes can connect # to the database without requiring a passwort input rootpassword="$(cat "$__object/parameter/password")" -__file "/root/.my.cnf" --group root --user root --mode 600 --source "$__type/files/my.cnf" +__file "/root/.my.cnf" --group root --owner root --mode 600 --source "$__type/files/my.cnf" require="__file/root/.my.cnf" \ __addifnosuchline "/root/.my.cnf" --line "password=$rootpassword"