aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitmodules3
m---------modules/nodejs0
-rw-r--r--modules/role/manifests/cryptoportfolio.pp1
3 files changed, 4 insertions, 0 deletions
diff --git a/.gitmodules b/.gitmodules
index 35df238..fa5163a 100644
--- a/.gitmodules
+++ b/.gitmodules
@@ -40,6 +40,9 @@
40[submodule "modules/letsencrypt"] 40[submodule "modules/letsencrypt"]
41 path = modules/letsencrypt 41 path = modules/letsencrypt
42 url = git://git.immae.eu/github/voxpupuli/puppet-letsencrypt.git 42 url = git://git.immae.eu/github/voxpupuli/puppet-letsencrypt.git
43[submodule "modules/nodejs"]
44 path = modules/nodejs
45 url = git://git.immae.eu/github/voxpupuli/puppet-nodejs
43[submodule "python/ovh"] 46[submodule "python/ovh"]
44 path = python/ovh 47 path = python/ovh
45 url = git://git.immae.eu/github/ovh/python-ovh 48 url = git://git.immae.eu/github/ovh/python-ovh
diff --git a/modules/nodejs b/modules/nodejs
new file mode 160000
Subproject c77134280b7e30f3c8a94448e04de5c238e6c89
diff --git a/modules/role/manifests/cryptoportfolio.pp b/modules/role/manifests/cryptoportfolio.pp
index 5e18ac0..d670486 100644
--- a/modules/role/manifests/cryptoportfolio.pp
+++ b/modules/role/manifests/cryptoportfolio.pp
@@ -304,6 +304,7 @@ class role::cryptoportfolio {
304 exec { "web-cryptoportfolio-build": 304 exec { "web-cryptoportfolio-build":
305 cwd => "${cf_front_app}/cmd/web", 305 cwd => "${cf_front_app}/cmd/web",
306 environment => ["HOME=${cf_home}"], 306 environment => ["HOME=${cf_home}"],
307 path => ["${cf_front_app}/cmd/web/node_modules/.bin/", "/usr/bin"],
307 command => "/usr/bin/make static ENV=${cf_env}", 308 command => "/usr/bin/make static ENV=${cf_env}",
308 creates => "${cf_front_app}/cmd/web/build/static", 309 creates => "${cf_front_app}/cmd/web/build/static",
309 require => [File[$cf_front_app_static_conf], Exec["web-cryptoportfolio-dependencies"]] 310 require => [File[$cf_front_app_static_conf], Exec["web-cryptoportfolio-dependencies"]]