Skip to content

Instantly share code, notes, and snippets.

View ericcalabretta's full-sized avatar

Eric Calabretta ericcalabretta

  • Harness Software
  • San Francisco
View GitHub Profile

Habitat On-Prem-Builder Depot authentication setup with Chef Automate

Step 1: create a new OAuth Application in Chef Automate

Login into your Automate server and create a file called oauth.toml

bldr_signin_url Is your builder FQDN. The URL should be http if you have SSL disabled which may be the case for an evaluation.

IMPORTANT: don't forget the / at the end of the URL you set for bldr_signin_url

@ericcalabretta
ericcalabretta / hab_windows_install.md
Created April 5, 2019 16:15
hab windows install instructions

Habitat setup instructions for Windows

1. Download Habitat & unzip to C:\habitat (6.8MB for version 78)

note this assumes version 0.78 of HAb, you'll have to change C:\hab- to whatever version you need

$URL = "https://api.bintray.com/content/habitat/stable/windows/x86_64/hab-%24latest-x86_64-windows.zip?bt_package=hab-x86_64-windows"
Invoke-Webrequest -uri $URL -OutFile habitat.zip
Expand-Archive habitat.zip -DestinationPath C:\
Rename-Item C:\hab-0.78.0-20190313120028-x86_64-windows\ -NewName "habitat"