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

unattended_upgrades (8) Versions 0.2.1

Installs/Configures APT unattended_upgrades

Policyfile
Berkshelf
Knife
cookbook 'unattended_upgrades', '= 0.2.1', :supermarket
cookbook 'unattended_upgrades', '= 0.2.1'
knife supermarket install unattended_upgrades
knife supermarket download unattended_upgrades
README
Dependencies
Quality 0%

Description

Configure APT to do unattended upgrades as security fixes are released.

Requirements

Ubuntu or maybe Debian.

Tested on:

  • Ubuntu 10.04 LTS with chef-client 10.14.2
  • Ubuntu 12.04 LTS wtih chef-client 10.14.2
  • Ubuntu 14.04 LTS with chef-client 11.12.2

Attributes

The following node attributes are passed to the APT configuration template:

  • unattended_upgrades[:upgrade_email] - email to receive notifications
  • unattended_upgrades[:auto_reboot] - automatically reboot without confirmation if necessary (default false)
  • unattended_upgrades[:enable_upgrades] - enable or disable unattended upgrades (default true)

Usage

include_recipe "unattended_upgrades"

Contributing

https://github.com/mcary/unattended_upgrades

Testing

$ vagrant up $ver
$ vagrant ssh $ver -- sudo sh /vagrant/test.sh

Where $ver is 10.04, 12.04, or 14.04.

Dependent cookbooks

This cookbook has no specified dependencies.

Contingent cookbooks

pita Applicable Versions

Foodcritic Metric
            

0.2.1 failed this metric

FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/0831b57ea954a0eb8de4876f/unattended_upgrades/attributes/default.rb:1
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/0831b57ea954a0eb8de4876f/unattended_upgrades/attributes/default.rb:2
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/0831b57ea954a0eb8de4876f/unattended_upgrades/attributes/default.rb:3
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/0831b57ea954a0eb8de4876f/unattended_upgrades/recipes/default.rb:13
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/0831b57ea954a0eb8de4876f/unattended_upgrades/recipes/default.rb:14
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/0831b57ea954a0eb8de4876f/unattended_upgrades/recipes/default.rb:15