rackerbenoit / chef-flywaydb

Chef cookbook to install flywaydb and execute flyway commands
http://flywaydb.org/
MIT License
3 stars 3 forks source link

Cannot symlink flyway directory if older version of flywaydb cookbook ran previously #19

Closed dhoer closed 8 years ago

dhoer commented 8 years ago

Previous versions of flyway created /opt/flyway directory. 5.1.1+ can't create a symlink if that directory exists.

The solution is to check if that file exists, then rename it to flyway_legacy.