Skip to content

jtopjian/puppet-apt_mirror

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

apt-mirror puppet module

A simple Puppet module for apt-mirror.

Usage

class { 'apt_mirror': }
apt_mirror::mirror { 'puppetlabs':
  mirror     => 'apt.puppetlabs.com',
  os         => '',
  release    => ['precise'],
  components => ['main'],
}

For hiera:

apt_mirror::mirror_list:
  'puppetlabs':
    mirror:     'apt.puppetlabs.com'
    os:         ''
    release:
      - 'precise'
    components: 
      - 'main'