[chef] Flyway migration fails getting renamed file


Chronological Thread 
  • From: Armando Blancas < >
  • To:
  • Subject: [chef] Flyway migration fails getting renamed file
  • Date: Fri, 14 Mar 2014 08:53:57 -0700 (PDT)

I hope this is the right place to ask this.

My latest flyway migration file has the wrong format, V1_59_xxx instead of
V1__59xxx. I renamed the file but when the migration runs during a Chef solo
process, it keeps getting the old file and copying the whole flyway directory
structure to /tmp/flyway on the target box.

Any ideas of how I may fix this? Don't know if something's cached or where.

Here, both the original and the new file make it to the target box:
[2014-03-14T15:35:53+00:00] INFO:
cookbook_file[/tmp/flyway/sql/V1_59_create_table_rejects.sql] mode changed to
644
[2014-03-14T15:35:53+00:00] INFO:
cookbook_file[/tmp/flyway/sql/V1_59__create_table_rejects.sql] created file
/tmp/flyway/sql/V1_59__create_table_rejects.sql

-Armando


  • [chef] Flyway migration fails getting renamed file, Armando Blancas, 03/14/2014

Archive powered by MHonArc 2.6.16.

§