Commit 995711a3 authored by Fabrice Gangler's avatar Fabrice Gangler 🎨
Browse files

FIX!: adapt puppet to modification of bin/setup file

parent 403d8bb3
...@@ -140,11 +140,11 @@ file_line { 'DB_PASSWORD': ...@@ -140,11 +140,11 @@ file_line { 'DB_PASSWORD':
# Modification of bin/setup file. # Modification of bin/setup file.
# As we already created the DB we don't need to recreate it. # As we already created the DB we don't need to recreate it.
file_line { 'db:setup': file_line { 'db:prepare':
ensure => present, ensure => present,
path => "$_ds_project_directory/bin/setup", path => "$_ds_project_directory/bin/setup",
line => " system! 'bin/rails db:schema:load db:seed'", line => " system! 'bin/rails db:schema:load db:seed'",
match => " system! 'bin/rails db:setup'", match => " system! 'bin/rails db:prepare'",
require => File[$_ds_project_directory], require => File[$_ds_project_directory],
} }
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment