Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Work in progress - Puppet module for managing git repositories, including git type.
Ruby
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
lib/puppet
manifests
spec
test/lib
README

README

This is not ready for use. 

This module originally started out as my first attempt at a puppet custom type: git. I thought I'd use TDD to develop it, so copied over necessary files from the puppet repo into the module so that Rspec tests would work.

To test, run:

spec spec/unit/type/vcsrepo.rb

Fortunately for me, jamtur01 (James Turnbull) posted a guide to creating a puppet custom type, coincidentally for managing git and subversion repos, so I've copied his work into here for expansion and to write more tests against - and also as an exercise in how to write Rspec tests in Puppet modules.

His excellent tutorial is at: http://www.kartar.net/2010/02/puppet-types-and-providers-are-easy/

Something went wrong with that request. Please try again.