{"full_name":"chef/chef","owner":"chef","name":"chef","shard":"1","url":"https://github.com/chef/chef","description":"Chef Infra, a powerful automation platform that transforms infrastructure into code automating how infrastructure is configured, deployed and managed across any environment, at any scale","homepage":"http://www.chef.io/chef/","topics":["chef","devops","cfgmgt","infrastructure","automation","deployment","hacktoberfest"],"tag_pages":["automation","deployment","devops","hacktoberfest","infrastructure"],"language":"Ruby","license":"Apache-2.0","avatar":"https://avatars.githubusercontent.com/u/29740?v=4","created_at":"2009-01-15T20:40:48Z","pushed_at":"2026-11-17T04:06:47Z","metrics":{"stars":8268,"forks":2520,"watchers":347,"issues":3797,"prs":12646,"releases":4,"issues_open":325,"issues_closed":3472,"prs_open":88,"prs_closed":4245,"prs_merged":8313,"discussions":6},"growth":{},"history":{"dates":["2026-11-17"],"stars":[8268],"forks":[2520],"watchers":[347],"issues_open":[325],"prs_open":[88]},"boards":{},"same_owner":[],"issues":[{"number":7765,"title":"Powershell Add-AppxPackage not working for standard user (only admin)","comments":17,"created_at":"2018-10-23T11:11:04Z"},{"number":9220,"title":"Have dnf_package support modular/appstream installs","comments":13,"created_at":"2020-01-15T16:48:21Z"},{"number":12993,"title":"User resource user.rb crashes with `Segmentation fault` when using GCP VM with OSLogin Enabled.","comments":12,"created_at":"2022-06-14T02:25:49Z"},{"number":14034,"title":"Omnitruck artifact does not exist for Rocky Linux","comments":11,"created_at":"2023-10-19T17:59:13Z"},{"number":10455,"title":"`windows_user` resource requires plaintext passwords","comments":10,"created_at":"2020-09-22T05:03:15Z"},{"number":10079,"title":"Add new 'systemd_timesyncd' resource","comments":10,"created_at":"2020-06-29T00:45:32Z"},{"number":9175,"title":"Directory resource should remove files and replace with a directory","comments":9,"created_at":"2019-12-18T01:12:43Z"},{"number":4599,"title":"`file` resource's `inspect_existing_fs_entry` prevents managing permissions on char/dev files","comments":9,"created_at":"2016-02-18T20:37:24Z"}],"discussions":[{"number":15663,"title":"`include_recipe` inside a custom resource","comments":0,"category":"Q&A","created_at":"2026-02-23T18:23:21Z"},{"number":14878,"title":"How to deal with concurrent tests?","comments":0,"category":"Q&A","created_at":"2025-03-05T12:24:34Z"},{"number":14778,"title":"Support environment specific attributes in Roles","comments":0,"category":"Ideas","created_at":"2025-01-03T09:49:15Z"},{"number":14286,"title":"Chef 17.10.3 RPM packages that supports RHEL7 and RHEL8","comments":1,"category":"Q&A","created_at":"2024-03-15T13:20:56Z"},{"number":13381,"title":"Node Self-Tagging Deprecation","comments":1,"category":"Q&A","created_at":"2022-11-22T15:17:18Z"},{"number":13189,"title":"Is Chef still under Apache License 2.0?","comments":1,"category":"Q&A","created_at":"2022-09-16T13:06:17Z"}],"latest_release":{"name":"Chef Infra Client 15.8.23","tag":"v15.8.23","published_at":"2020-02-20T06:51:07Z","body":"## New notify\\_group functionality\n\nChef Infra Client now includes a new `notify_group` feature that can be used to extract multiple common notifies out of individual resources to reduce duplicate code in your cookbooks and custom resources. Previously cookbook authors would often use a `log` resource to achieve a similar outcome, but using the log resource results in unnecessary Chef Infra Client log output. The `notify_group` method produces no additional logging, but fires all defined notifications when the `:run` action is set.\n\nExample notify\\_group that stops, sleeps, and then starts service when a service config is updated:\n\n``` ruby\n  service \"crude\" do\n    action [ :enable, :start ]\n  end\n\n  chef_sleep \"60\" do\n    action :nothing\n  end\n\n  notify_group \"crude_stop_and_start\" do\n    notifies :stop, \"service[crude]\", :immediately\n    notifies :sleep, \"chef_sleep[60]\", :immediately\n    notifies :start, \"service[crude]\", :immediately\n  end\n\n  template \"/etc/crude/crude.conf\" do\n    source \"crude.conf.erb\"\n    variables node[\"crude\"]\n    notifies :run, \"notify_group[crude_stop_and_start]\", :immediately\n  end\n```\n\n## Chef InSpec 4.18.85\n\nChef InSpec has been updated from 4.18.39 to 4.18.85. This release includes a large number of bug fixes in addition to some great resource enhancements:\n\n  - The service resource features new support for yocto-based linux distributions. Thank you to [@michaellihs](https://github.com/michaellihs) for this addition\\!\n  - The package resource now includes support for FreeBSD. Thank you to [@fzipi](https://github.com/fzipi) for this work\\!\n  - We standardized the platform for the etc\\_hosts, virtualization, ini, and xml resources.\n  - The oracledb\\_session resource works again due to a missing quote fix.\n  - The groups resource on macOS no longer reports duplicates anymore. command.exist? now conforms to POSIX standards. Thanks to [@PiQuer](https://github.com/PiQuer)\\!\n  - Changed the postfix\\_conf resource's supported platform to the broader unix. Thank you to [@fzipi](https://github.com/fzipi) for this fix\\!\n\n## New Cookbook Helpers\n\nNew helpers have been added to make writing cookbooks easier.\n\n### Platform Version Helpers\n\nNew helpers for checking platform versions have been added. These helpers return parsed version strings so there's no need to convert the returned values to Integers or Floats before comparing them. Additionally, comparisons with version objects properly understand the order of versions so `5.11` will compare as larger than `5.9`, whereas converting those values to Floats would result in `5.9` being larger than `5.11`.\n\n  - `windows_nt_version` returns the NT kernel version which often differs from Microsoft's marketing versions. This helper offers a good way to find desktop and server releases that are based on the same codebase. For example, NT 6.3 is both Windows 8.1 and Windows 2012 R2.\n  - `powershell_version` returns the version of PowerShell installed on the system.\n  - `platform_version` returns the value of node\\['platform\\_version'\\].\n\nExample comparison using windows\\_nt\\_version:\n\n``` ruby\nif windows_nt_version >= 10\n  some_modern_windows_things\nend\n```\n\n### Cloud Helpers\n\nThe cloud helpers from chef-sugar have been ported to Chef Infra Client:\n\n  - `cloud?` - if the node is running in any cloud, including internal clouds\n  - `ec2?` - if the node is running in ec2\n  - `gce?` - if the node is running in gce\n  - `rackspace?` - if the node is running in rackspace\n  - `eucalyptus?` - if the node is running under eucalyptus\n  - `linode?` - if the node is running in linode\n  - `openstack?` - if the node is running under openstack\n  - `azure?` - if the node is running in azure\n  - `digital_ocean?` - if the node is running in digital ocean\n  - `softlayer?` - if the node is running in softlayer\n\n### Virtualization Helpers\n\nThe virtualization helpers from chef-sugar have been ported to Chef Infra Client and extended with helpers to detect hypervisor hosts, physical, and ","is_prerelease":false},"readme":true,"readme_zh":false,"news":[],"stale":false,"snapshot_at":"2026-11-17T10:29:19Z","history_start":"2026-09-06"}