diff options
author | Ismaël Bouya <ismael.bouya@normalesup.org> | 2018-02-24 22:20:32 +0100 |
---|---|---|
committer | Ismaël Bouya <ismael.bouya@normalesup.org> | 2018-02-24 22:51:13 +0100 |
commit | 6d512d3fc73ece6aba5842e73b3b662cd904433d (patch) | |
tree | a952af3a2e1ad9ecaf86f8569628cd92af4c8301 /modules/role | |
parent | 0b72208f3396d739cbd040a416cbb1d40d434cca (diff) | |
download | Puppet-6d512d3fc73ece6aba5842e73b3b662cd904433d.tar.gz Puppet-6d512d3fc73ece6aba5842e73b3b662cd904433d.tar.zst Puppet-6d512d3fc73ece6aba5842e73b3b662cd904433d.zip |
Add npm module and missing path
Diffstat (limited to 'modules/role')
-rw-r--r-- | modules/role/manifests/cryptoportfolio.pp | 1 |
1 files changed, 1 insertions, 0 deletions
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"]] |