forked from ungleich-public/cdist
fixed usage of __file
This commit is contained in:
parent
01619614d4
commit
dc5fb8b769
1 changed files with 1 additions and 1 deletions
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue