checksum => $bot_sha256,
cleanup => false,
extract => true,
- user => "cryptoportfolio",
+ user => $cf_user,
username => $facts["ec2_metadata"]["hostname"],
password => generate_password(24, $password_seed, "ldap"),
extract_path => $cf_bot_app,
exec { "web-cryptoportfolio-dependencies":
cwd => "${cf_front_app}/cmd/web",
+ user => $cf_user,
environment => ["HOME=${cf_home}"],
command => "/usr/bin/make install",
refreshonly => true,
} ~>
exec { "web-cryptoportfolio-build":
cwd => "${cf_front_app}/cmd/web",
+ user => $cf_user,
environment => ["HOME=${cf_home}"],
path => ["${cf_front_app}/cmd/web/node_modules/.bin/", "/usr/bin"],
command => "/usr/bin/make static ENV=${cf_env}",