Commit 753634ec authored by Julie gauthier's avatar Julie gauthier
Browse files

FIX: set variables instead of hard values

parent 6a0d99b5
......@@ -109,21 +109,21 @@ file { "$_ds_project_directory/.env":
file_line { 'DB_DATABASE':
ensure => present,
path => "$_ds_project_directory/.env",
line => 'DB_DATABASE="ds"',
line => "DB_DATABASE=\"$db_name\"",
match => '^DB_DATABASE="tps_development"',
require => File["$_ds_project_directory/.env"],
}
file_line { 'DB_USERNAME':
ensure => present,
path => "$_ds_project_directory/.env",
line => 'DB_USERNAME="ds"',
line => "DB_USERNAME=\"$db_user_name\"",
match => '^DB_USERNAME="tps_development"',
require => File["$_ds_project_directory/.env"],
}
file_line { 'DB_PASSWORD':
ensure => present,
path => "$_ds_project_directory/.env",
line => 'DB_PASSWORD="kiki34"',
line => "DB_PASSWORD=\"$db_user_password\"",
match => '^DB_PASSWORD="tps_development"',
require => File["$_ds_project_directory/.env"],
}
......
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