Giter Club home page Giter Club logo

ubuntu's Introduction

DEPRECATED

This cookbook is deprecated. Instead use the apt_repository and locale resources built into Chef Infra Client for managing systems.

Ubuntu Cookbook

Build Status Cookbook Version

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 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 & Authors

Author: Cookbook Engineering Team ([email protected])

Copyright: 2008-2019, 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.

ubuntu's People

Contributors

adamhjk avatar ashb avatar btm avatar nathenharvey avatar nathwill avatar tas50 avatar whiteley avatar xorimabot avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

ubuntu's Issues

Outdated 'apt-get update' resource

Hi, I faced with a problem after cookbooks update to the latest versions with the latest available chef-solo:

# chef-solo --version
Chef: 11.14.2
[2014-08-14T05:53:18+00:00] ERROR: resource template[/etc/apt/sources.list] is configured to notify resource execute[apt-get update] with action run, but execute[apt-get update] cannot be found in the resource collection. template[/etc/apt/sources.list] is defined in /apps/vagrant/external-cookbooks/ubuntu/recipes/default.rb:20:in `from_file'

It looks like resource apt-get update was renamed to apt-get-update in the apt cookbook, here is related issue - sous-chefs/apt#84

Can someone suggest does this change https://github.com/pinepain/ubuntu/commit/c00838f67732ca114e15e492380bca14ef527e0b is a correct workaround?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.