diff options
author | John McCrae <john.mccrae@progress.com> | 2022-10-20 12:30:23 +0600 |
---|---|---|
committer | John McCrae <john.mccrae@progress.com> | 2022-10-20 16:34:54 +0600 |
commit | e8e15d9fbd70a694a786b0a87ff97a7430427a3c (patch) | |
tree | 4f817463332ebce2b61fd9ddd3042b027f0be82f | |
parent | 14f262ca35854259a1e9b8e9b92db65ed1188d1c (diff) | |
download | chef-e8e15d9fbd70a694a786b0a87ff97a7430427a3c.tar.gz |
Corrected the installer to load Chef-17 instead of Chef-18. And more digging for Hab
Signed-off-by: John McCrae <john.mccrae@progress.com>
-rw-r--r-- | .expeditor/scripts/ensure-minimum-viable-hab.ps1 | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/.expeditor/scripts/ensure-minimum-viable-hab.ps1 b/.expeditor/scripts/ensure-minimum-viable-hab.ps1 index c652159380..45729d34ec 100644 --- a/.expeditor/scripts/ensure-minimum-viable-hab.ps1 +++ b/.expeditor/scripts/ensure-minimum-viable-hab.ps1 @@ -29,5 +29,8 @@ catch { Write-Host "--- :habicat: Forcing an install of habitat" Set-ExecutionPolicy Bypass -Scope Process -Force Invoke-Expression ((New-Object System.Net.WebClient).DownloadString('https://raw.githubusercontent.com/habitat-sh/habitat/main/components/hab/install.ps1')) + $test_output = gci -path c:\ -File "hab.exe" + Write-Host "Here's Hab`n" + Write-Host $test_output $env:Path = [System.Environment]::GetEnvironmentVariable("Path", "Machine") + ";" + [System.Environment]::GetEnvironmentVariable("Path", "User") + ";C:\ProgramData\Habitat\" } |