A tool for automating interactive applications
- The Core Planners: chef-core-planners@chef.io
Binary package
Binary packages can be set as runtime or build time dependencies. See Defining your dependencies for more information.
To add core/expect as a depdendency, you can add one of the following to your plan file.
pkg_build_deps=(core/expect)
pkg_deps=(core/expect)
To install this plan, you should run the following commands to first install, and then link the binaries this plan creates.
hab pkg install core/expect
» Installing core/expect
☁ Determining latest version of core/expect in the 'stable' channel
☛ Verifying core/expect/5.45.4/20200306004814
...
✓ Installed core/expect/5.45.4/20200306004814
★ Install of core/expect/5.45.4/20200306004814 complete with 2 new packages installed.
hab pkg binlink core/expect
» Binlinking expect from core/expect into /bin
★ Binlinked expect from core/expect/5.45.4/20200306004814 to /bin/expect
...
You can now use the binary as normal:
/bin/expect -v
or expect -v
expect version 5.45.4