nvalentine-puppetlabs / puppet-gitolite Goto Github PK
View Code? Open in Web Editor NEWPuppetize gitolite installation and initial config.
Puppetize gitolite installation and initial config.
gitolite::{package}::redhat line #36
I'm pretty sure you want to parameterize $user here, rather than hard coding in 'git'.
I have not tested this module, this is based solely on a code review,
and in fact I am sorting out which gitolite module to install in a debian environment,
and so will not even be using the redhat path if I do choose your module;
so take this with a grain of salt.
I have added the following to the manifest of the system I want to be a gitolite server:
class { "::gitolite":
path => "/home/git",
admin_pub_key => "ssh-rsa apubkeyblah jeff@localhost"
}
The first run sets up gitolite successfully. Subsequent runs give the following errors:
Error: Could not set 'file' on ensure: No such file or directory - /var/lib/gitolite/admin.pub.puppettmp_2174 at 95:/home/jstrunk/Projects/puppet/modules/gitolite/manifests/package.pp
Error: Could not set 'file' on ensure: No such file or directory - /var/lib/gitolite/admin.pub.puppettmp_2174 at 95:/home/jstrunk/Projects/puppet/modules/gitolite/manifests/package.pp
Wrapped exception:
No such file or directory - /var/lib/gitolite/admin.pub.puppettmp_2174
Error: /File[/var/lib/gitolite/admin.pub]/ensure: change from absent to file failed: Could not set 'file' on ensure: No such file or directory - /var/lib/gitolite/admin.pub.puppettmp_2174 at 95:/home/jstrunk/Projects/puppet/modules/gitolite/manifests/package.pp
Notice: /Stage[main]/Gitolite::Package/Exec[configure gitolite admin]: Dependency File[/var/lib/gitolite/admin.pub] has failures: true
Warning: /Stage[main]/Gitolite::Package/Exec[configure gitolite admin]: Skipping because of failed dependencies
Notice: /Stage[main]/Gitolite::Package/Exec[rename gitolite group to git]: Dependency File[/var/lib/gitolite/admin.pub] has failures: true
Warning: /Stage[main]/Gitolite::Package/Exec[rename gitolite group to git]: Skipping because of failed dependencies
Notice: /Stage[main]/Gitolite::Package/Exec[rename gitolite user to git]: Dependency File[/var/lib/gitolite/admin.pub] has failures: true
Warning: /Stage[main]/Gitolite::Package/Exec[rename gitolite user to git]: Skipping because of failed dependencies
Notice: Finished catalog run in 3.72 seconds
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.