summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn <john.mccrae@progress.com>2023-04-20 15:20:54 -0700
committerJohn <john.mccrae@progress.com>2023-04-25 18:41:10 -0700
commitd91f0b876058bd0012a1326eec89052c087e5d43 (patch)
tree09dc951e3f9e17b58046f032a7a7a30599e035bb
parenta03e96103eba7119dcda39ddb3545d68b6e480a3 (diff)
downloadchef-d91f0b876058bd0012a1326eec89052c087e5d43.tar.gz
Not failing locally, adding a PowerShell tweak
Signed-off-by: John <john.mccrae@progress.com>
-rw-r--r--habitat/plan.ps17
1 files changed, 6 insertions, 1 deletions
diff --git a/habitat/plan.ps1 b/habitat/plan.ps1
index 4dced59006..599ff11f27 100644
--- a/habitat/plan.ps1
+++ b/habitat/plan.ps1
@@ -1,3 +1,8 @@
+
+# debugging - jfm
+$ErrorActionPreference = 'Continue'
+# /debugging
+
$pkg_name="chef-infra-client"
$pkg_origin="chef"
$pkg_version=(Get-Content $PLAN_CONTEXT/../VERSION)
@@ -30,7 +35,7 @@ function Invoke-Begin {
function Invoke-SetupEnvironment {
Push-RuntimeEnv -IsPath GEM_PATH "$pkg_prefix/vendor"
- Set-RuntimeEnv APPBUNDLER_ALLOW_RVM "true" # prevent appbundler from clearing out the carefully constructed runtime GEM_PATH
+ Set-RuntimeEnv APPBUNDLER_ALLOW_RVM "true" # prevent appbundler from clearing out the carefully constructed runtime GEM_PATHwindows
Set-RuntimeEnv FORCE_FFI_YAJL "ext" # Always use the C-extensions because we use MRI on all the things and C is fast.
Set-RuntimeEnv -IsPath SSL_CERT_FILE "$(Get-HabPackagePath cacerts)/ssl/cert.pem"
Set-RuntimeEnv LANG "en_US.UTF-8"