Adoptable Cookbooks List

Looking for a cookbook to adopt? You can now see a list of cookbooks available for adoption!
List of Adoptable Cookbooks

Supermarket Belongs to the Community

Supermarket belongs to the community. While Chef has the responsibility to keep it running and be stewards of its functionality, what it does and how it works is driven by the community. The chef/supermarket repository will continue to be where development of the Supermarket application takes place. Come be part of shaping the direction of Supermarket by opening issues and pull requests or by joining us on the Chef Mailing List.

Select Badges

Select Supported Platforms

Select Status

RSS

xinetd (9) Versions 2.1.2

Installs/Configures xinetd

Policyfile
Berkshelf
Knife
cookbook 'xinetd', '~> 2.1.2', :supermarket
cookbook 'xinetd', '~> 2.1.2'
knife supermarket install xinetd
knife supermarket download xinetd
README
Dependencies
Changelog
Quality 50%

xinetd cookbook

OpenCollective
OpenCollective
License

Description

This cookbook installs and configures the xinetd internet service daemon. It also provides an LWRP for managing xinetd services.

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

This cookbook has been tested on Centos and Ubuntu.

Chef Version

Chef 15.3+

Resources

xinetd_service

The xinetd_service resource allows you to define and enable xinetd
services. For example:

xinetd_service "discard" do
  id "discard-stream"
  type "INTERNAL"
  wait false
  socket_type "stream"
  action :enable
end

All options supported in xinetd 2.3.14 are currently supported by this
provider.

Note that no type checking is done for attribute values. Values are
rendered directly into the xinetd configuration file for that
service. Array's are coerced to space separated strings while true
and false are converted to "yes" and "no", respectively.

The xinetd_service provider will attempt to relaod the xinetd
service. Including this cookbooks default recipe before using it will
ensure that such a service exists.

Attributes

The default recipe uses the following attributes to render the default
xinetd.conf configuration block. See xinetd.conf(5) for their
meanings. Boolean values are translated to "yes" and "no" before
being rendered and Array's are coerced to space separated strings.
Currently, the default attribute values are taken from the example
configuration in the xinetd source repository.

  • default['xinetd']['defaults']['log_type']
  • default['xinetd']['defaults']['bind']
  • default['xinetd']['defaults']['per_source']
  • default['xinetd']['defaults']['umask']
  • default['xinetd']['defaults']['log_on_success']
  • default['xinetd']['defaults']['log_on_failure']
  • default['xinetd']['defaults']['v6only']
  • default['xinetd']['defaults']['only_from']
  • default['xinetd']['defaults']['no_access']
  • default['xinetd']['defaults']['passenv']
  • default['xinetd']['defaults']['instances']
  • default['xinetd']['defaults']['disabled']
  • default['xinetd']['defaults']['enabled']
  • default['xinetd']['defaults']['banner']
  • default['xinetd']['defaults']['banner_success']
  • default['xinetd']['defaults']['banner_fail']
  • default['xinetd']['defaults']['groups']
  • default['xinetd']['defaults']['cps']
  • default['xinetd']['defaults']['max_load']

The builtin_services recipe uses the following attributes to determine
which of the builtin xinetd services to configure and enable. All are
true by default.

  • default['xinetd']['builtin_services']['chargen-stream']['enabled']
  • default['xinetd']['builtin_services']['chargen-dgram']['enabled']
  • default['xinetd']['builtin_services']['daytime-stream']['enabled']
  • default['xinetd']['builtin_services']['daytime-dgram']['enabled']
  • default['xinetd']['builtin_services']['discard-stream']['enabled']
  • default['xinetd']['builtin_services']['discard-dgram']['enabled']
  • default['xinetd']['builtin_services']['echo-stream']['enabled']
  • default['xinetd']['builtin_services']['echo-dgram']['enabled']
  • default['xinetd']['builtin_services']['time-stream']['enabled']
  • default['xinetd']['builtin_services']['time-dgram']['enabled']
  • default['xinetd']['builtin_services']['tcpmux-server']['enabled']

Recipes

default.rb

Installs the xinetd package, renders a basic configuration file, and
starts the xinetd service.

builtin_services.rb

This recipe configures stream and datagram services that xinetd
implements internally:

  • echo
  • time
  • daytime
  • chargen
  • discard
  • tcpmux-server

By default this recipes configures all services. Individual services
can be disabled by using the appropriate attributes (see above.)

Author

Author:: Steven Danna

Contributors

This project exists thanks to all the people who
contribute.

Backers

Thank you to all our backers!

https://opencollective.com/sous-chefs#backers

Sponsors

Support this project by becoming a sponsor. Your logo will show up here with a link to your website.

https://opencollective.com/sous-chefs/sponsor/0/website
https://opencollective.com/sous-chefs/sponsor/1/website
https://opencollective.com/sous-chefs/sponsor/2/website
https://opencollective.com/sous-chefs/sponsor/3/website
https://opencollective.com/sous-chefs/sponsor/4/website
https://opencollective.com/sous-chefs/sponsor/5/website
https://opencollective.com/sous-chefs/sponsor/6/website
https://opencollective.com/sous-chefs/sponsor/7/website
https://opencollective.com/sous-chefs/sponsor/8/website
https://opencollective.com/sous-chefs/sponsor/9/website

Dependent cookbooks

This cookbook has no specified dependencies.

Contingent cookbooks

nagios-xinetd Applicable Versions
tftp Applicable Versions

xinetd Cookbook CHANGELOG

2.1.2 - 2024-05-03

2.1.1 - 2024-05-03

2.1.0 - 2023-10-03

  • Remove CircleCI config
  • Switch from Delivery to reusable workflows
  • Update standardfiles

2.0.1 - 2023-09-29

2.0.0 - 2021-11-02

  • Sous Chefs Adoption
  • Migrate to custom resource and enabled unified_mode
  • Require Chef >= 15.3
  • Add ChefSpec & InSpec tests
  • Fix service name for tcpmux-server

1.0.2 - 2017-02-26

  • Suppress warning already initialized constant
  • Update xinetd service attribute key name
  • bugfix: Respect enabled attribute for stream services

1.0.1 - 2015-01-16

  • Load template from xinetd cookbook unless explicitly overridden.
  • Fix foodcritic errors and add basic TravisCI configuration

Collaborator Number Metric
            

2.1.2 passed this metric

Contributing File Metric
            

2.1.2 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
            

2.1.2 passed this metric

No Binaries Metric
            

2.1.2 passed this metric

Testing File Metric
            

2.1.2 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
            

2.1.2 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