Skip to content
This repository has been archived by the owner on Dec 2, 2020. It is now read-only.

Commit

Permalink
Ensure my-default.cnf file can be found when initialising databases
Browse files Browse the repository at this point in the history
  • Loading branch information
petervandoros committed Nov 21, 2017
1 parent 6ec1086 commit 5aad9f8
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions manifests/config.pp
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,11 @@
notify => Service['mysql'] ;
}

file { "${globalconfigprefix}/my-default.cnf":
ensure => 'link',
target => "${configdir}/my.cnf",
}

->
exec { 'init-mysql-db':
command => "${bindir}/mysql_install_db \
Expand Down

0 comments on commit 5aad9f8

Please sign in to comment.