sbadia/puppet-gitlab

Database Is Wiped Out On Every Run

StrangeWill opened this issue · 3 comments

Fresh install on Debian 7, ${git_home}/.gitlab_setup_done is not being created, touching it fixes it. Not sure why...

Note: with version 0.1.5 and gitlab 6.9 it works on debian 7 like expected. My database (postgress on separate host) is alive since 4 month and puppet runs every 30 minutes. So it must introduced between 0.1.5 and 0.2.

Hi

Same behavior here on Centos7. The cause is 9df87b7 removing ensure => present on File["${git_home}/.gitlab_setup_done"] because lint complained about it. Now the file is not created anymore and new installs will keep recreating the database.

I guess the way to keep lint happy and restore the correct behavior is to have ensure => file

Indeed, sorry for this bug… Many thanks for the debug+patch!