chefctl
Version, currently main branch1 version
- main branchlatestSep 27, 2026
github.com/howielauvehansen94/chefctl
No description declared in shard.yml.
0 stars
0 dependents
License: MIT
Installation
# Add this to your shard.yml
dependencies:
chefctl:
github: howielauvehansen94/chefctl
branch: mainmain is a branch, not a release, so this tracks it rather than pinning a version.
Then run:
shards installshard.yml
- Crystal
>= 1.22.0-dev- License
- MIT
- Author
- HÃ¥vard Lauve Hansen
- Target
chefctlfrom src/chefctl.cr
Dependencies
Runtime Dependencies
- openssl_ext*github: spider-gazelle/openssl_ext
README
chefctl
A small Crystal CLI for the Chef Infra Server REST API.
Installation
shards install
crystal build src/chefctl.cr -o bin/chefctl
Usage
export CHEF_SERVER_URL=https://chef.example.com/organizations/myorg
export CHEF_USER=myuser
export CHEF_KEY="$HOME/.chef/myuser.pem"
chefctl nodes
chefctl node web01.example.com
chefctl get "search/node?q=platform:ubuntu"
Run chefctl --help for all commands and flags. The get command hits any
org-relative endpoint, so search, data bags (get data), etc. work without
dedicated commands.
Development
crystal spec
Documentation
Built from the current release. The first visit to a release nobody has asked for starts its build.
Links
This branch
- Branch
main- Seen
- Sep 27, 2026
- Crystal
>= 1.22.0-dev- Indexed
- yes
Dependents
No indexed shard depends on this one yet.
Repository
github.com/howielauvehansen94/chefctl
Metadata
- Created
- Sep 27, 2026
- Updated
- Sep 27, 2026
- Synced
- Sep 27, 2026
- Versions
- 1