cookbook 'unattended_upgrades', '~> 0.3.0', :supermarket
unattended_upgrades (8) Versions 0.3.0 Follow9
Installs/Configures APT unattended_upgrades
cookbook 'unattended_upgrades', '~> 0.3.0'
knife supermarket install unattended_upgrades
knife supermarket download unattended_upgrades
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
Collaborator Number Metric
0.3.0 failed this metric
Failure: Cookbook has 0 collaborators. A cookbook must have at least 2 collaborators to pass this metric.
Contributing File Metric
0.3.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
Foodcritic Metric
0.3.0 failed this metric
FC064: Ensure issues_url is set in metadata: unattended_upgrades/metadata.rb:1
FC065: Ensure source_url is set in metadata: unattended_upgrades/metadata.rb:1
FC066: Ensure chef_version is set in metadata: unattended_upgrades/metadata.rb:1
FC069: Ensure standardized license defined in metadata: unattended_upgrades/metadata.rb:1
FC072: Metadata should not contain "attribute" keyword: unattended_upgrades/metadata.rb:1
Run with Foodcritic Version 14.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
No Binaries Metric
0.3.0 passed this metric
Publish Metric
0.3.0 passed this metric
Supported Platforms Metric
0.3.0 passed this metric
Testing File Metric
0.3.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
0.3.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
0.3.0 failed this metric
0.3.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
Foodcritic Metric
0.3.0 failed this metric
FC064: Ensure issues_url is set in metadata: unattended_upgrades/metadata.rb:1
FC065: Ensure source_url is set in metadata: unattended_upgrades/metadata.rb:1
FC066: Ensure chef_version is set in metadata: unattended_upgrades/metadata.rb:1
FC069: Ensure standardized license defined in metadata: unattended_upgrades/metadata.rb:1
FC072: Metadata should not contain "attribute" keyword: unattended_upgrades/metadata.rb:1
Run with Foodcritic Version 14.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
No Binaries Metric
0.3.0 passed this metric
Publish Metric
0.3.0 passed this metric
Supported Platforms Metric
0.3.0 passed this metric
Testing File Metric
0.3.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
0.3.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
0.3.0 failed this metric
FC065: Ensure source_url is set in metadata: unattended_upgrades/metadata.rb:1
FC066: Ensure chef_version is set in metadata: unattended_upgrades/metadata.rb:1
FC069: Ensure standardized license defined in metadata: unattended_upgrades/metadata.rb:1
FC072: Metadata should not contain "attribute" keyword: unattended_upgrades/metadata.rb:1
Run with Foodcritic Version 14.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
0.3.0 passed this metric
Publish Metric
0.3.0 passed this metric
Supported Platforms Metric
0.3.0 passed this metric
Testing File Metric
0.3.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
0.3.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
0.3.0 passed this metric
0.3.0 passed this metric
Testing File Metric
0.3.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
0.3.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
0.3.0 failed this metric
0.3.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