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

Commit

Permalink
Merge pull request #82 from petervandoros/my-default-cnf-fix
Browse files Browse the repository at this point in the history
Ensure my-default.cnf file can be found when initialising databases in High Sierra
  • Loading branch information
jacobbednarz authored Dec 19, 2017
2 parents 6ec1086 + 5aad9f8 commit c2c6323
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 c2c6323

Please sign in to comment.