go2chef
go2chef copied to clipboard
A Golang tool to bootstrap a system from zero so that it's able to run Chef to be managed
If using the PackageName option to override the package to install from the default ("chef"), log messages will indicate the specified package is being installed but in reality it still...
There is no way to provide `sslclientcert`/`sslclientkey` inside `go2chef.step.install.linux.dnf` - hence you can't authenticate with a yum endpoint while downloading a package. ``` GO2CHEF 2022/06/08 19:40:32 EVENT: STEP_3_FAILURE go2chef.step.install.linux.dnf:'install chef-13'...
The typical usage of installing a package in dnf is like the following ``` { "steps": [ { "type": "go2chef.step.install.linux.dnf", "name": "install chef", "version": "15.2.20-1.el7.x86_64", "source": { "type": "go2chef.source.http", "url":...
I am presently using `go2chef.step.install.linux.dnf` to install a package and version and relying on dnf to figure out the repo. But I am seeing inconsistency with how go2chef is honoring...
Package names are [currently hardcoded](https://github.com/facebookincubator/go2chef/blob/master/plugin/step/install/darwin/pkg/pkg.go#L138), which requires patching go2chef to use it with a free/libre Chef distribution like [Cinc](https://cinc.sh). Allowing passing arbitrary filenames would make this tool more broadly useful...
AWS-specific sources will often be used from an aws instance with access to the aws metadata service. This is already used by the sdk to provide credentials if they aren't...
Add caching support for the HTTP source. This allows us to: 1. Avoid redownloading potentially very large files repeatedly on failures 2. Preserve bootstrap files locally for re-bootstrapping in limited-access...
Git repositories are a common small-scale mechanism for distributing configs, etc. Add a Source plugin to support this in `go2chef`.