7 git remote | grep -q "^$remote$" || {
8 echo I: Adding remote $remote
9 git remote add "$remote" "$url"
12 git remote -v | grep "^$remote" | grep -q "$url" || {
13 echo I: Changing remote URL for $remote
14 git remote set-url $remote $url
22 checkout = git clone ssh://gitolite@code.leap.se/gitolite-admin gitolite-admin
25 checkout = git clone ssh://gitolite@code.leap.se/leap_cloudadmin cloudadmin
28 checkout = git clone ssh://gitolite@code.leap.se/bitmask bitmask
31 checkout = git clone ssh://gitolite@code.leap.se/leap_vagrant vagrant
37 checkout = git clone ssh://gitolite@admin.leap.se/gitolite-admin gitolite-admin_orca
40 checkout = git clone ssh://gitolite@admin.leap.se/pwstore pwstore
46 checkout = git clone ssh://gitolite@code.leap.se/leap_ca ca
49 checkout = git clone ssh://gitolite@code.leap.se/leap_client client
52 checkout = git clone ssh://gitolite@code.leap.se/leap_web web
58 checkout = git clone ssh://gitolite@code.leap.se/platform platform
61 checkout = git clone ssh://gitlote@code.leap.se/leap_platform_errors errors
64 checkout = git clone ssh://gitolite@code.leap.se/leap_cli cli
67 # Debian/Ubuntu packages
70 checkout = git clone ssh://gitolite@code.leap.se/python_srp python_srp
73 checkout = git clone ssh://gitolite@code.leap.se/python_gnutls python_gnutls
76 checkout = git clone ssh://gitolite@code.leap.se/python_requests python_requests
79 checkout = git clone ssh://gitolite@code.leap.se/python_ping python_ping
85 checkout = git clone ssh://gitolite@admin.leap.se/puppet puppet
91 checkout = git clone ssh://gitolite@code.leap.se/puppet_site_apache site_apache &&
93 git config alias.xpush "push && ${bindir}/superproject-post-push.sh"
96 checkout = git clone ssh://gitolite@code.leap.se/puppet_site_apt site_apt &&
98 git config alias.xpush "push && ${bindir}/superproject-post-push.sh"
100 [modules/site_config]
101 checkout = git clone ssh://gitolite@code.leap.se/puppet_site_config site_config &&
103 git config alias.xpush "push && ${bindir}/superproject-post-push.sh"
106 checkout = git clone ssh://gitolite@code.leap.se/puppet_site_git site_git &&
108 git config alias.xpush "push && ${bindir}/superproject-post-push.sh"
110 [modules/site_gitolite]
111 checkout = git clone ssh://gitolite@code.leap.se/puppet_site_gitolite site_gitolite &&
113 git config alias.xpush "push && ${bindir}/superproject-post-push.sh"
115 [modules/site_nagios]
116 checkout = git clone ssh://gitolite@code.leap.se/puppet_site_nagios site_nagios &&
118 git config alias.xpush "push && ${bindir}/superproject-post-push.sh"
120 [modules/site_puppet]
121 checkout = git clone ssh://gitolite@code.leap.se/puppet_site_puppet site_puppet &&
123 git config alias.xpush "push && ${bindir}/superproject-post-push.sh"
126 checkout = git clone ssh://gitolite@code.leap.se/puppet_site_sudo site_sudo &&
128 git config alias.xpush "push && ${bindir}/superproject-post-push.sh"
131 # regular puppet modules
134 checkout = git clone ssh://gitolite@code.leap.se/puppet_augeas augeas &&
136 git config alias.xpush "push && ${bindir}/superproject-post-push.sh"
138 git_assure_remote camptocamp git://github.com/camptocamp/puppet-augeas.git
142 checkout = git clone ssh://gitolite@code.leap.se/puppet_apache apache &&
144 git config alias.xpush "push && ${bindir}/superproject-post-push.sh"
147 checkout = git clone ssh://gitolite@code.leap.se/puppet_apt apt &&
149 git config alias.xpush "push && ${bindir}/superproject-post-push.sh"
151 [modules/backupninja]
152 checkout = git clone ssh://gitolite@code.leap.se/puppet_backupninja backupninja &&
154 git config alias.xpush "push && ${bindir}/superproject-post-push.sh"
157 checkout = git clone ssh://gitolite@code.leap.se/puppet_apache apache &&
159 git config alias.xpush "push && ${bindir}/superproject-post-push.sh"
162 checkout = git clone ssh://gitolite@code.leap.se/puppet_bundler bundler &&
164 git config alias.xpush "push && ${bindir}/superproject-post-push.sh"
167 checkout = git clone ssh://gitolite@code.leap.se/puppet_concat concat &&
169 git config alias.xpush "push && ${bindir}/superproject-post-push.sh"
172 checkout = git clone ssh://gitolite@code.leap.se/puppet_couchdb couchdb &&
174 git config alias.xpush "push && ${bindir}/superproject-post-push.sh"
177 checkout = git clone ssh://gitolite@code.leap.se/puppet_gpg gpg &&
179 git config alias.xpush "push && ${bindir}/superproject-post-push.sh"
182 checkout = git clone ssh://gitolite@code.leap.se/puppet_git git &&
184 git config alias.xpush "push && ${bindir}/superproject-post-push.sh"
187 checkout = git clone ssh://gitolite@code.leap.se/puppet_munin munin &&
189 git config alias.xpush "push && ${bindir}/superproject-post-push.sh"
192 checkout = git clone ssh://gitolite@code.leap.se/puppet_nagios nagios &&
194 git config alias.xpush "push && ${bindir}/superproject-post-push.sh"
197 checkout = git clone ssh://gitolite@code.leap.se/puppet_passenger passenger &&
199 git config alias.xpush "push && ${bindir}/superproject-post-push.sh"
202 checkout = git clone ssh://gitolite@code.leap.se/puppet_puppet puppet &&
204 git config alias.xpush "push && ${bindir}/superproject-post-push.sh"
207 checkout = git clone ssh://gitolite@code.leap.se/puppet_reprepro reprepro &&
209 git config alias.xpush "push && ${bindir}/superproject-post-push.sh"
212 checkout = git clone ssh://gitolite@code.leap.se/puppet_rubygems rubygems &&
214 git config alias.xpush "push && ${bindir}/superproject-post-push.sh"
217 checkout = git clone ssh://gitolite@code.leap.se/puppet_ruby ruby &&
219 git config alias.xpush "push && ${bindir}/superproject-post-push.sh"
222 checkout = git clone ssh://gitolite@code.leap.se/puppet_shorewall shorewall &&
224 git config alias.xpush "push && ${bindir}/superproject-post-push.sh"
227 checkout = git clone ssh://gitolite@code.leap.se/puppet_stdlib stdlib &&
229 git config alias.xpush "push && ${bindir}/superproject-post-push.sh"
232 checkout = git clone ssh://gitolite@code.leap.se/puppet_unbound unbound &&
234 git config alias.xpush "push && ${bindir}/superproject-post-push.sh"
237 checkout = git clone ssh://gitolite@code.leap.se/puppet_x509 x509 &&
239 git config alias.xpush "push && ${bindir}/superproject-post-push.sh"