Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

template('gitolite/gitolite3.rc.erb') missing, but used by gitolite::rc #14

Open
hesco opened this issue Oct 17, 2014 · 3 comments
Open

Comments

@hesco
Copy link

hesco commented Oct 17, 2014

gitolite/gitolite3.rc.erb is not available in your file tree.
Based on a code review, without testing.

@zstumgoren
Copy link

+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.

@zstumgoren
Copy link

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.

@hesco
Copy link
Author

hesco commented Mar 13, 2015

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants