Mirror github repositories locally, for fun and profit
Puppet Ruby
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
files
manifests
templates
LICENSE
README.markdown

README.markdown

Puppet GitHub mirroring

Mirror your massive GitHub repos locally, so that you can rapidly create and destroy repositories before the heat death of the universe!

Synopsis

class { "github::params":
  user       => "gitmirror",
  group      => "gitmirror",
  basedir    => "/home/gitmirror",
  wwwroot    => "/var/www/gitmirror",
  vhost_name => "git",
}

file { "/var/www/gitmirror":
  ensure => directory,
  owner  => "gitmirror",
  group  => "gitmirror",
  mode   => "0755",
}

github::mirror {
  "puppetlabs/puppet":
    ensure => present;
  "supersecret/world-domination-plans":
    ensure  => present,
    private => true;
}