theforeman/puppet-puppet — pull request #5 by GregSutcliffe (2012-05-01 15:29:58+00:00)
Title: make puppet::server parameterized

This is a drop-in replacement - running 'include puppet::server' should
behave *exactly* as before. In addition, you can now do things like:

class { '::puppet::server': git_repo => true }

or maybe:

class { '::puppet::server':
git_repo => true,
git_repo_path => '/var/lib/gitolite/repositories/puppet.git',
}

Or perhaps you need your own hooks?

class { '::puppet::server':
git_repo => true,
git_repo_path => '/var/lib/gitolite/repositories/puppet.git',
post_hook_name => 'post-receive.puppet',
post_hook_content => 'puppetserver/post-hook.puppet',
}

@vStone: I know you were working on this a while back - hope this fits with what you're up to.