Open hesco opened 10 years ago
+1 Yep, I noticed this too and it does indeed cause the puppet run to fail:
Error: Could not find template 'gitolite/gitolite3.rc.erb' at /tmp/vagrant-puppet/modules-7d2a1831e209e7618233cea33c0ef3cf/gitolite/manifests/rc.pp:31
Not clear to me if this project is still maintained, but my guess is that the template strategy was abandoned because the gitolite install
process auto-generates ~/.gitolite.rc.
I'm planning to fork and revise the strategy to replace settings in the generated configuration file after initial install, possibly using Augeas or something simpler. I'm open to better alternatives of course, so please shout out @hesco if you're still interested in this issue.
Scratch that note about using Augeas. Didn't realize gitolite.rc is a perl script masquerading as a config file. Going to try to fix the template strategy, barring better suggestions.
Thanks. Think I have my gitolite installation and configuration management needs handled.
But you might find this helpful:
http://blogs.perl.org/users/hesco/2014/10/reviewing-gitolite-modules-from-the-puppet-forge.html
gitolite/gitolite3.rc.erb is not available in your file tree.
Based on a code review, without testing.