fixed usage of __file

This commit is contained in:
Benedikt Koeppel 2012-02-18 21:17:24 +01:00
parent 01619614d4
commit dc5fb8b769
1 changed files with 1 additions and 1 deletions

View File

@ -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"