GitShow/facebook/chef-utils
facebook

chef-utils

Utilities related to Chef

by facebook
Star on GitHubFork

Ruby

289 stars76 forks37 contributorsQuiet · 3mo agoSince 2013Apache-2.0

Meet the team

See all 37 on GitHub →
jaymzh
jaymzh105 contributions
dafyddcrosby
dafyddcrosby14 contributions
odcinek
odcinek8 contributions
kcbraunschweig
kcbraunschweig7 contributions
gcweir
gcweir6 contributions
davide125
davide1255 contributions
NaomiReeves
NaomiReeves4 contributions
chantra
chantra4 contributions

Languages

View on GitHub →
Ruby94.2%
Erlang4.5%
Shell1.3%

Commit activity

Last 12 weeks · 0 commits

Full graph →

Community health

4 of 6 standards met

Community profile →
75
✓README✓License✓Contributing✓Code of Conduct○Issue Template○PR Template

Recent PRs & issues

Quiet · 2 in progress · Last activity 3mo ago
See all on GitHub →
jaymzh
[chefctl] Move default lockfile locationOpenPR

was meant for SysV startup serialization, and was never the right locationf or our lockfile. Moreover, recent systemd releases no longer keep the configuration that creates , so this means chefctl no longer works out of the box. Move the default to something more modern and sane. NOTE*: If Meta doesn't explicitly set a setting in their , they should before merging this. Signed-off-by: Phil Dibowitz

jaymzh · 3mo ago
dafyddcrosby
Add chefctl rspec tests to CIOpenPR

Summary: Add rspec gem to Gemfile and a CI step to run chefctl specs across the Ruby version matrix. Fixes #83 Test Plan: CI will run on push/PR.

dafyddcrosby · 4mo ago

Recent fixes

View closed PRs →
dafyddcrosby
Add cinc-workstation rubocop pathMergedPR
dafyddcrosby · 5mo ago
dafyddcrosby
[chef-utils] Add .editorconfig, remove vim modelinesMergedPR

Summary: Copy editorconfig settings from between-meals and add patterns for extensionless scripts. Remove vim modelines from 4 files as the editorconfig now handles indentation settings. Test Plan: Verified editorconfig file created correctly and vim modelines removed.

dafyddcrosby · 5mo ago
jaymzh
[chefctl] Add a new hook: `skip_run?`MergedPR

This adds a new hook point (and sample plugin usage) that allows the Chef run to be skipped based on some local criteria. Example usage might be: Device is on battery Device is not connected to VPN/backhaul/etc. Some global service meant to disable runs during an emergency Previously I did this in pre_run or pre_start, but the problem with that is that the only way is to force , which causes the logs to get messed up because we never update the links. This provides a clean way to skip the run but still update the chef.{cur,last} links so that it's clear what has happened. Sample output: ``` $ sudo chefctl -iv [2025-11-13 18:27:44 +1000] DEBUG chefctl: Loading plugin at /etc/cinc/chefctl_hooks.rb. [2025-11-13 18:27:44 +1000] DEBUG chefctl: Including registered plugin KrHook [2025-11-13 18:27:44 +1000] DEBUG chefctl: Trying lock /var/lock/subsys/chefctl [2025-11-13 18:27:44 +1000] DEBUG chefctl: Lock acquired: /var/lock/subsys/chefctl [2025-11-13 18:27:44 +1000] INFO chefctl: taste-tester mode ends in

jaymzh · 5mo ago
Structured data for AI agents

Repository: facebook/chef-utils. Description: Utilities related to Chef Stars: 289, Forks: 76. Primary language: Ruby. Languages: Ruby (94.2%), Erlang (4.5%), Shell (1.3%). License: Apache-2.0. Open PRs: 2, open issues: 4. Last activity: 3mo ago. Community health: 75%. Top contributors: jaymzh, dafyddcrosby, odcinek, kcbraunschweig, gcweir, davide125, NaomiReeves, chantra, facebook-github-bot, fejese and others.

·@ofershap

Replace github.com with gitshow.dev