From 6d512d3fc73ece6aba5842e73b3b662cd904433d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Isma=C3=ABl=20Bouya?= Date: Sat, 24 Feb 2018 22:20:32 +0100 Subject: Add npm module and missing path --- modules/role/manifests/cryptoportfolio.pp | 1 + 1 file changed, 1 insertion(+) (limited to 'modules/role/manifests') 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 { exec { "web-cryptoportfolio-build": cwd => "${cf_front_app}/cmd/web", environment => ["HOME=${cf_home}"], + path => ["${cf_front_app}/cmd/web/node_modules/.bin/", "/usr/bin"], command => "/usr/bin/make static ENV=${cf_env}", creates => "${cf_front_app}/cmd/web/build/static", require => [File[$cf_front_app_static_conf], Exec["web-cryptoportfolio-dependencies"]] -- cgit v1.2.3