Skip to content

doctorjnupe/debmirror

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Description

Installes debmirror package and provides the debmirror lwrp.

Roadmap

Ability to schedule updates of mirror via cron etc.

Requirements

Platform

  • Ubuntu 12.04

Tested on Ubuntu 12.04, but it would be desireable to get this on more platforms. Debmirror basically one big perl script with a few dependencies.

Recipes

utexas-precise-amd64

creates an amd64 precise mirror in /share/ubuntu-amd64 8)

Attributes

attribute :target_dir, :name_attribute => true attribute :host, :kind_of => String, :default => 'archive.ubuntu.com' attribute :method, :kind_of => String, :equal_to => ['rsync'] attribute :dists, :kind_of => String, :default => 'precise' attribute :arch, :kind_of => String, :default => 'amd64' attribute :sections, :kind_of => String, :default => 'main,main/debian-installer,universe,restricted,multiverse' attribute :source, :kind_of => Bool, :default => false

defaults documented in:

/usr/share/doc/debmirror/examples/debmirror.conf

$host="archive.ubuntu.com"; @dists="oneiric"; @sections="main,main/debian-installer,universe,restricted,multiverse"; $do_source=1;

-p for progress

/usr/bin/debmirror is a perl script, so the definitive source is there

Usage

debmirror '/shared/ubuntu-amd64' do host 'ftp.utexas.edu' method 'rsync' dist 'precise' arch 'amd64' source false end

About

Debian Mirror cookbook

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Ruby 100.0%