Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Mirror github repositories locally, for fun and profit
Puppet Ruby
Branch: master

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;
}
Something went wrong with that request. Please try again.