Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Démarches Simplifiées
Vagrant DEV for Démarches-Simplifiées
Commits
753634ec
Commit
753634ec
authored
Jun 24, 2020
by
Julie gauthier
Browse files
FIX: set variables instead of hard values
parent
6a0d99b5
Changes
1
Hide whitespace changes
Inline
Side-by-side
manifests/default.pp
View file @
753634ec
...
...
@@ -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"
],
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment