cookbook 'ubuntu', '= 3.0.1'
The ubuntu cookbook has been deprecated
Author provided reason for deprecation:
The ubuntu cookbook has been deprecated and is no longer being maintained by its authors. Use of the ubuntu cookbook is no longer recommended.
ubuntu (16) Versions 3.0.1 Follow83
Sets up apt sources for Ubuntu Linux
cookbook 'ubuntu', '= 3.0.1', :supermarket
knife supermarket install ubuntu
knife supermarket download ubuntu
Ubuntu Cookbook
Sets up apt sources for Ubuntu and manages the system locale settings
Requirements
Platforms
- Ubuntu
Chef
- Chef 13+
Cookbooks
- none
Attributes
See attributes/default.rb
for default values.
-
node['ubuntu']['archive_url']
- Archived package repo URL -
node['ubuntu']['security_url']
- Security update package repo URL -
node['ubuntu']['include_source_packages']
- Add source packages to the apt sources. Defaults to true -
node['ubuntu']['architectures']
- Optional array of architectures to download from the repos. Defaults to nil and all archs are used -
node['ubuntu']['components']
- Repository components to use. Defaults to "main restricted universe multiverse" -
node['ubuntu']['locale']
- The locale to set the OS to -
node['ubuntu']['codename']
- A codename to use, defaults tonode['lsb']['codename']
, e.g.precise
.
Recipes
default
Includes the apt default recipe to ensure the package cache is updated and manages the /etc/apt/sources.list
for the node's platform code name. The template adds sources for main, restricted, universe and multiverse.
Usage
Include recipe[ubuntu]
on systems where you want to manage the sources.list. Currently the template enables main, restricted, universe and multiverse for the node's codename (e.g., lucid, natty, etc). See Roadmap.
License & Authors
Author: Cookbook Engineering Team (cookbooks@chef.io)
Copyright: 2008-2016, Chef Software, Inc.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
Dependent cookbooks
This cookbook has no specified dependencies.
Contingent cookbooks
ubuntu Cookbook CHANGELOG
This file is used to list changes made in each version of the ubuntu cookbook.
3.0.1 (2019-10-16)
- Fix version requirement in the readme - @tas50
3.0.0 (2019-10-16)
- Update apache2 license string - @tas50
- Update copyrights - @tas50
- Cookstyle fix - @tas50
- Rename the kitchen config - @tas50
- Remove Ubuntu 14.04 testing for 18.04 - @tas50
- Upddate the ignore file - @tas50
- Use apt_update resource instead of depending on apt cookbook - @tas50
- Remove extra metadata from metadata.rb - @tas50
2.0.1 (2017-03-01)
- Require Chef 12.1+ instead of 12.0+
- Test using Delivery local mode instead of Rake
- Update copyright header format
- Cookstyle fixes
2.0.0 (2016-09-07)
- Add chef_version metadata
- Testing updates
- Require chef 12+
1.2.1 (2016-08-17)
- Join architectures with commas to prevent failures when using more than 1 arch
v1.2.0 (2015-10-19)
- Updated the cookbook to cleanly exit if running on non-Ubuntu platforms
- Switched Travis CI integration testing from Digital Ocean to Kitchen-Docker on Travis
- Added testing on CentOS to Kitchen config
- Added standard Chef rubocop config
- Updated Berksfile to 3.X format
- Updated Contributing and Testing docs
- Updated development and testing gems in the Gemfile
- Added maintainers.md and maintainers.toml files
- Added Travis and cookbook version badges to the readme
- Added a chefignore file to limit what's uploaded to the server
- Added long_description, source_url, and issues_url to the metadata.rb file
- Resolved all Rubocop warnings
v1.1.8 (2014-07-28)
- Fixed compilation error on non-linux platforms
v1.1.6 (2014-02-14)
New Feature
- COOK-4325 - allow setting codename as an attribute
Bug
- COOK-3852 - Ubuntu receipe triggers an apt-get update before replacing the default sources.list
v1.1.4
- COOK-3852 - updating source.list before calling apt-get update
- Style and test harness
v0.0.0
Text goes here
Collaborator Number Metric
3.0.1 failed this metric
Failure: Cookbook has 1 collaborators. A cookbook must have at least 2 collaborators to pass this metric.
Contributing File Metric
3.0.1 passed this metric
Foodcritic Metric
3.0.1 passed this metric
No Binaries Metric
3.0.1 passed this metric
Testing File Metric
3.0.1 passed this metric
Version Tag Metric
3.0.1 passed this metric
3.0.1 failed this metric
3.0.1 passed this metric
Foodcritic Metric
3.0.1 passed this metric
No Binaries Metric
3.0.1 passed this metric
Testing File Metric
3.0.1 passed this metric
Version Tag Metric
3.0.1 passed this metric
3.0.1 passed this metric
3.0.1 passed this metric
Testing File Metric
3.0.1 passed this metric
Version Tag Metric
3.0.1 passed this metric
3.0.1 passed this metric
3.0.1 passed this metric