This cookbook provides custom resources for installing, configuring, and managing the xinetd extended internet services daemon. See AGENTS.md for platform availability details and migration.md for the custom-resource migration guide.
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.
| Platform | Versions |
|---|---|
| AlmaLinux | 8 |
| Debian | 12, 13 |
| Oracle Linux | 8 |
| Rocky Linux | 8 |
| Ubuntu | 22.04 LTS, 24.04 LTS |
See AGENTS.md for architecture, package availability, and legacy platform details.
Chef 15.3+
Installs or removes the xinetd package. See documentation/xinetd_install.md.
xinetd_install 'default'Configures xinetd: creates /etc/xinetd.d/, renders /etc/xinetd.conf, and manages the xinetd
service. See documentation/xinetd_config.md.
xinetd_config 'default' do
log_type 'SYSLOG daemon info'
cps '50 10'
instances '50'
endManages an xinetd service definition in /etc/xinetd.d/.
See documentation/xinetd_service.md.
xinetd_service 'discard-stream' do
service_name 'discard'
id 'discard-stream'
type 'INTERNAL'
wait false
socket_type 'stream'
action :enable
endBoolean property values (true/false) are automatically rendered as yes/no.
Array values are joined with a space.
Manages xinetd builtin (INTERNAL) services: chargen, daytime, discard, echo, time, and tcpmux-server. See documentation/xinetd_builtin_services.md.
xinetd_builtin_services 'default'To disable specific services:
xinetd_builtin_services 'default' do
chargen_stream_enabled false
chargen_dgram_enabled false
tcpmux_server_enabled false
endAuthor:: Steven Danna
This project exists thanks to all the people who contribute.
Thank you to all our backers!
Support this project by becoming a sponsor. Your logo will show up here with a link to your website.