Commit Graph
17 Commits
Author SHA1 Message Date
raucao a96a49c633 Cinc Client: install the current stable release, not a floating pin
The migration script installed Cinc with no version, which floated and
triggered omnitruck's "You are installing a package without a version pin"
warning. Pass -v latest so omnitruck resolves the current stable build for
the node's platform (20.04 -> 19.2.12, 22.04+/24.04/26.04 -> 19.4.46) and
the warning is suppressed. Document the behavior in the README.

Drop the stale chef_version: 18.2.7 pins from the Test Kitchen suites:
dokken defaults chef_version to "latest", so passing -v is what actually
tracks the current stable client.

Add the missing provisioner.product_name: cinc to the deno and strfry
submodule suites so they run Cinc instead of the license-gated Chef Infra
Client.

Submodule pointers:
  site-cookbooks/deno   3795c9e -> c78bc66
  site-cookbooks/strfry 9c04b39 -> 8107b1e
2026-11-02 11:38:19 +04:00
raucao 87d4305c0d scripts: add migrate_node_to_cinc.sh
One-shot, idempotent helper that prepares an existing (Chef) node for
Cinc Workstation management: installs Cinc Client, points /etc/cinc at
the existing /etc/chef config, drops the deprecated attribute lists, and
pre-seeds the allowed_* attribute lists so the first converge does not
filter node attributes (e.g. vm_host). The node can then be converged as
usual. Verified against drone-1.
2026-11-01 18:35:44 +04:00
raucao 470dcb82ee Migrate the Chef repo to Cinc Workstation
Cinc Workstation replaces Chef Workstation for driving knife-zero and
Test Kitchen; nodes run (or are moving to) Cinc Client.

- Pin .ruby-version to cinc-workstation
- Move knife config from .chef/ to .cinc/ (Cinc's USER_CONF_DIR) and
  update .gitignore, README, AGENTS and docs accordingly. On-node config
  now lives in /etc/cinc
- Drop the Gemfile/Gemfile.lock; install knife-zero into Cinc
  Workstation's user gem dir with `cinc gem install knife-zero`
- README: rewrite setup/usage for Cinc Workstation
- scripts/postgresql/switch_primary.sh: drop `bundle exec`
2026-11-01 18:28:44 +04:00
greg db69e437d5 Remove sanitize node script and pre-commit hook
This is no longer needed with the properly set allowed attributes
2026-07-11 20:08:58 +02:00
raucao 704d0bca0e Document upgrading Chef client 2026-07-06 18:50:07 +02:00
raucao 8c71261fc9 Add pre-commit hook for sanitizing node configs 2026-07-05 17:22:34 +02:00
raucao 070badfeb3 Add postgres replica bootstrap example 2024-12-12 18:29:16 +04:00
Râu Cao 2eb0544ea9 Update README 2023-01-05 17:14:46 +08:00
basti 1e6c40b136 Update README 2021-11-25 19:37:48 -06:00
basti bda100313e Update README
Add some info about Chef Workstation and rbenv.
2021-05-28 14:51:42 +02:00
basti 1cb366a160 Add commands for running Chef against VMs 2020-12-10 23:39:59 +01:00
greg ebcb700eaf Add the command to update Chef Client 2019-10-10 12:43:47 +02:00
greg 67c9ea621c Add the latest bootstrap command to the README 2019-10-10 12:37:14 +02:00
greg 585374861d Update the README for Knife-Zero 2019-10-08 18:17:57 +02:00
basti 9c0ce30780 Add Berkshelf help to the README 2018-06-01 16:13:50 +02:00
basti 2b4970354c Update README 2016-01-20 21:19:14 -05:00
greg ee4079fa85 Initial Chef repository 2015-07-21 19:45:23 +02:00