aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--modules/role/manifests/cryptoportfolio.pp4
1 files changed, 3 insertions, 1 deletions
diff --git a/modules/role/manifests/cryptoportfolio.pp b/modules/role/manifests/cryptoportfolio.pp
index 5fb0438..6c760b5 100644
--- a/modules/role/manifests/cryptoportfolio.pp
+++ b/modules/role/manifests/cryptoportfolio.pp
@@ -203,7 +203,7 @@ class role::cryptoportfolio {
203 checksum => $bot_sha256, 203 checksum => $bot_sha256,
204 cleanup => false, 204 cleanup => false,
205 extract => true, 205 extract => true,
206 user => "cryptoportfolio", 206 user => $cf_user,
207 username => $facts["ec2_metadata"]["hostname"], 207 username => $facts["ec2_metadata"]["hostname"],
208 password => generate_password(24, $password_seed, "ldap"), 208 password => generate_password(24, $password_seed, "ldap"),
209 extract_path => $cf_bot_app, 209 extract_path => $cf_bot_app,
@@ -373,6 +373,7 @@ class role::cryptoportfolio {
373 373
374 exec { "web-cryptoportfolio-dependencies": 374 exec { "web-cryptoportfolio-dependencies":
375 cwd => "${cf_front_app}/cmd/web", 375 cwd => "${cf_front_app}/cmd/web",
376 user => $cf_user,
376 environment => ["HOME=${cf_home}"], 377 environment => ["HOME=${cf_home}"],
377 command => "/usr/bin/make install", 378 command => "/usr/bin/make install",
378 refreshonly => true, 379 refreshonly => true,
@@ -380,6 +381,7 @@ class role::cryptoportfolio {
380 } ~> 381 } ~>
381 exec { "web-cryptoportfolio-build": 382 exec { "web-cryptoportfolio-build":
382 cwd => "${cf_front_app}/cmd/web", 383 cwd => "${cf_front_app}/cmd/web",
384 user => $cf_user,
383 environment => ["HOME=${cf_home}"], 385 environment => ["HOME=${cf_home}"],
384 path => ["${cf_front_app}/cmd/web/node_modules/.bin/", "/usr/bin"], 386 path => ["${cf_front_app}/cmd/web/node_modules/.bin/", "/usr/bin"],
385 command => "/usr/bin/make static ENV=${cf_env}", 387 command => "/usr/bin/make static ENV=${cf_env}",