cookbook 'nscd', '~> 7.0.0'
nscd
(26) Versions
7.0.0
-
Follow9
Provides resources to install, configure, manage, and clear caches for nscd
cookbook 'nscd', '~> 7.0.0', :supermarket
knife supermarket install nscd
knife supermarket download nscd
nscd Cookbook
Installs, configures, manages, and clears caches for name service cache daemon (nscd) using custom resources.
Maintainers
This cookbook is maintained by the Sous Chefs. The Sous Chefs are a community of Chef cookbook maintainers working together to maintain important cookbooks. If you’d like to know more please visit sous-chefs.org or come chat with us on the Chef Community Slack in #sous-chefs.
Requirements
Platforms
- AlmaLinux 8+
- Amazon Linux 2023+
- CentOS Stream 9+
- Debian 12+
- Oracle Linux 8+
- Red Hat Enterprise Linux 8+
- Rocky Linux 8+
- Ubuntu 22.04+
Chef
- Chef 15.3+
Cookbooks
- none
Resources
See the resource documentation:
- [nscd](documentation/nscd.md)
- [nscd_clear_cache](documentation/nscd_clear_cache.md)
Migration
See [migration.md](migration.md) for the breaking change from recipes and attributes to custom resources.
Examples
Install, configure, and start nscd:
nscd 'default'
Clear caches of passwd and group databases:
nscd_clear_cache 'clear-nscd-caches' do databases %w(passwd group) end
Contributors
This project exists thanks to all the people who contribute.
Backers
Thank you to all our backers!
Sponsors
Support this project by becoming a sponsor. Your logo will show up here with a link to your website.
Dependent cookbooks
This cookbook has no specified dependencies.
Contingent cookbooks
nscd Cookbook CHANGELOG
This file is used to list changes made in each version of the nscd cookbook.
7.0.0 (2026-05-06)
⚠ BREAKING CHANGES
- migrate nscd to custom resources (#61)
Features
Bug Fixes
6.0.8 (2025-10-15)
Bug Fixes
6.0.4 - 2024-05-03
- Set nscd template variables to lazy
6.0.3 - 2022-02-08
- Remove delivery folder
6.0.2 - 2021-08-31
- Standardise files with files in sous-chefs/repo-management
6.0.1 - 2021-06-01
- Standardise files with files in sous-chefs/repo-management
6.0.0 - 2021-05-25
- Enable
unified_mode - Bump
chef_versionconstraint to >= 15.3
5.2.0 - 2021-02-26
- Sous Chefs Adoption
- Cookstyle fixes
5.1.0 (2019-09-30)
- The running user is now calculated at converge time which prevents failures on systems that don't have the nscd package before the chef-client run has started.
- Columns in the config are now somewhat aligned, which prevents a hard to read diff on the first chef-client run
- Added Ubuntu 18.04 / Debian 10 testing to Travis
- Added support and testing for openSUSE 42 / 15
5.0.2 (2018-04-04)
- Remove apt from the Berksfile
- Travis: Test the custom resource and test Debian
- Resolve Chef 14 deprecation
5.0.1 (2018-02-15)
- Test with delivery local mode and cleanup the test cookbook
- Don't use kind_of in the custom resource (FC117)
- Fix a bad example in the readme
5.0.0 (2017-02-23)
- Require Chef 12.5+ and remove compat_resource dependency
v4.1.0 (2016-06-10)
- Add a new attribute 'template_cookbook' to allow specifying a cookbook containing the nscd config template for wrapper cookbooks
v4.0.0 (2016-05-12)
- The NSCD user / group is now set to nscd if the nscd user/group exist and if not it will run as nobody. This is most likely the desired behavior for users, but may be a surprise based on the previous behavior.
v3.0.0 (2016-04-29)
- NSCD database values are now sanitized to remove incompatible databases on RHEL < 6 and Debian < 8. services and netgroup will now be removed as necessary
v2.0.0 (2015-10-24)
- Breaking change: Changed the execute block for performing nscd database cache clears in wrapper cookbooks to a Chef 12.5 custom resource that can more easily clear the cache for multiple databases. This will require updating cookbooks that notified to the previous execute block and requires Chef 12.0 or greater.
v1.0.1 (2015-10-24)
- Added additional platforms added to Test Kitchen config
- Added the standard Chef Rubocop config
- Updated Travis CI to use Chef DK for testing instead of Gems
- Updated contributing and testing docs
- Updated testing deps in the Gemfile
- Added maintainers.toml and maintainers.md
- Added a Rakefile for simplified testing
- Updated links to the Github org to point to the new chef-cookbooks org
v1.0.0 (2015-09-05)
- Minimum supported Chef release is now 11
- Added
default['nscd']['version']to control the version of the nscd package to install - Removed use of Ruby 1.8.7 hash rockets
- Added source_url and issue_url metadata
- Added additional platforms to the Kitchen CI config
- Removed Ruby 1.9.3 from Travis CI and add 2.1 and 2.2
- Removed the version constraint on apt in the Berkshelf file
- Updated developent dependencies and break Gemfile into groups
- Added cookbook version badge to the readme
v0.13.0
- Template the nscd config before starting the service so we don't have to start then restart
- Added a chefignore file
- Added Fedora as supported in metadata / Readme
- Update testing and contributing docs to match JIRA-free process
- Update development dependencies to current versions (chefspec, berkshelf, foodcritic, test kitchen, and rubocop)
- Update chefspec / server spec to work with the newer releases
- Add Trusty to the test kitchen config
v0.12.0
- Manage /etc/nscd.conf with a template
v0.11.0
Improvement
- Add support for different
nscdpackages
v0.10.0
Improvement
- Add SmartOS support
v0.9.0
Improvement
- [COOK-1915] - Support SmartOS for nscd
v0.8.2
- [COOK-1993] - use install action for packages
v0.7.0
- Current public release
Collaborator Number Metric
7.0.0 passed this metric
Contributing File Metric
7.0.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a CONTRIBUTING.md file
Cookstyle Metric
7.0.0 passed this metric
No Binaries Metric
7.0.0 passed this metric
Testing File Metric
7.0.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a TESTING.md file
Version Tag Metric
7.0.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must include a tag that matches this cookbook version number
7.0.0 passed this metric
7.0.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a CONTRIBUTING.md file
Cookstyle Metric
7.0.0 passed this metric
No Binaries Metric
7.0.0 passed this metric
Testing File Metric
7.0.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a TESTING.md file
Version Tag Metric
7.0.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must include a tag that matches this cookbook version number
7.0.0 passed this metric
7.0.0 passed this metric
Testing File Metric
7.0.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a TESTING.md file
Version Tag Metric
7.0.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must include a tag that matches this cookbook version number
7.0.0 failed this metric
7.0.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must include a tag that matches this cookbook version number