Managing skills on Habitat Builder deployed with Chef 360 Platform
Chef 360 Platform skills are Habitat packages that Chef Habitat Builder manages and deploys. When Chef 360 Platform enrolls a node, the Chef Node Management agent downloads and installs Chef skills from Habitat Builder.
This page documents how to manage skills on Habitat Builder that’s deployed with Chef 360 Platform.
Prerequisites
Supported origins
For Habitat Builder deployed by Chef 360 Platform, you can update packages from the following origins:
- core
- chef
- chef-platform
Update a Habitat package
Before you begin, you will need your authentication token. Contact your account team for information on how to access this token.
To update Habitat packages on Habitat Builder deployed by Chef 360 Platform, follow these steps:
Configure the Habitat CLI to use your 360-deployed Habitat Builder:
hab origin key generate <ORIGIN> export HAB_BLDR_URL="https://<HAB_BUILDER_FQDN>:31000/hab/builder/v1"
Upload your origin keys to the 360-deployed Habitat Builder:
hab origin key upload -z <AUTH_TOKEN> <ORIGIN> hab origin key upload -z <AUTH_TOKEN> <ORIGIN> -s
Get your Habitat package from public Habitat Builder:
hab pkg download <ORIGIN>/<PACKAGE>
Upload the Habitat package to your 360-deployed builder:
hab pkg upload -z <AUTH_TOKEN> <PATH/TO/PACKAGE>
Verify the Habitat package upload:
hab pkg search <ORIGIN>/<PACKAGE>