New Supermarket Announcements!

The Chef Community Cookbooks Survey

We would love to know more about what you think about community cookbooks and are runnning a quick survey. This will help us understand the role they play in your use of Chef. As a community member, you are invited to participate. You have a unique understanding of the role community cookbooks have in your work, and we value your opinion. Most people take about 5 minutes to complete this survey. There are no right or wrong answers; we are interested in your opinions.
Chef Community Cookbooks Survey

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 supermarket mailing list or in Gitter.

Select Supported Platforms

RSS

ubuntu (8) Versions 1.1.8

Sets up apt sources for Ubuntu Linux

Berkshelf
Librarian
Knife
cookbook 'ubuntu', '~> 1.1.8'
cookbook 'ubuntu', '~> 1.1.8'
knife cookbook site install ubuntu
knife cookbook site download ubuntu
README
Dependencies

Description

Sets up apt sources for Ubuntu.

Requirements

Platform:

  • Ubuntu

Cookbooks:

  • apt

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 to node['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 and Author

Author:: Adam Jacob adam@opscode.com Author:: Joshua Timberman joshua@opscode.com Author:: Tim Smith tsmith84@gmail.com

Copyright:: 2008-2011, Opscode, Inc Copyright:: 2014, 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.