Coder Social home page Coder Social logo

apt-mirror's Introduction

Description

This cookbook installs and configures apt-mirror. This will automate the creation of repository mirrors for Ubuntu/Debian and for additional APT repositories.

Requirements

  • Ubuntu 10.04 / Ubuntu 12.04 / Debian 7+
  • Data Bag named apt-mirror
{
  "id": "sensu",
  "source": "deb  http://repos.sensuapp.org/apt sensu main",
  "fqdn": "repos.sensuapp.org"
}

Attributes

  • node['apt-mirror']['base_path'] - Base path for mirror files.
  • node['apt-mirror']['nodearch'] - To specify which platform arch to mirror. Default is amd64.
  • node['apt-mirror']['run_postmirror'] -
  • node['apt-mirror']['nthreads'] - Set number of threads to use for downloading packages.
  • node['apt-mirror']['_tilde'] -
  • node['apt-mirror']['cron']['active'] - Have Chef schedule to run in cron.
  • node['apt-mirror']['cron']['minute'] - Minute
  • node['apt-mirror']['cron']['hour'] - Hour
  • node['apt-mirror']['cron']['day'] - Day.
  • node['apt-mirror']['cron']['weekday'] - Weekday. Default is everyday.
  • node['apt-mirror']['nginx']['port'] - Set port for nginx to run.

Usage

Include recipe[apt-mirror] in the run_list. Include recipe[apt-mirror::nginx] in the run_list to include a web server front end.

Repository

https://github.com/hw-cookbooks/apt-mirror

License and Authors

Author:: Aaron Baer ([email protected])

apt-mirror's People

Contributors

kplimack avatar

Watchers

 avatar  avatar

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.