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

dpkg_autostart (23) Versions 0.4.0

Control service actions initialized from dpkg

Policyfile
Berkshelf
Knife
cookbook 'dpkg_autostart', '= 0.4.0', :supermarket
cookbook 'dpkg_autostart', '= 0.4.0'
knife supermarket install dpkg_autostart
knife supermarket download dpkg_autostart
README
Dependencies
Quality 100%

dpkg_autostart cookbook

Cookbook Version
Build Status
OpenCollective
OpenCollective
License

dpkg likes to start services after installation as the Debian convention
dictates. This can be annoying and problematic, especially when you don't
want services to be immediately started before custom configuration can
be applied. Instead of disabling all services from auto starting on installation
as the dpkg_deb_unautostart cookbook does, lets allow specific services
to be targeted.

Usage

Resource

Include the cookbook as a dependency in your metadata:

depends 'dpkg_autostart'

Then, within your recipe, disable the service with the resource:

dpkg_autostart 'mysql-server' do
  allow false
end

That's it. When dpkg attempts to start the service after install (generally
via apt) it will be instructed not to. This allows the proper configuration
files to be generated, and the service to be started after everything is
ready.

Attribute

You can also provide a list of services to disable via node attribute. Add
the default recipe to the run list:

run_list 'recipe[dpkg_autostart]'

and set the services you want to restrict from auto starting:

node.default['dpkg_autostart']['disabled_services'] = ['mysql-server', 'apache2']

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

hadoop Applicable Versions
jenkins Applicable Versions
lxc Applicable Versions
monit-ng Applicable Versions
nrpe-ng Applicable Versions
openldap Applicable Versions
rabbitmq Applicable Versions
serverdensity Applicable Versions
zookeeperd Applicable Versions

Collaborator Number Metric
            

0.4.0 passed this metric

Contributing File Metric
            

0.4.0 passed this metric

Foodcritic Metric
            

0.4.0 passed this metric

No Binaries Metric
            

0.4.0 passed this metric

Testing File Metric
            

0.4.0 passed this metric

Version Tag Metric
            

0.4.0 passed this metric