32c5d1563dd6e3ff36541e26498c3ab9061444a9
[mirror/dsa-puppet.git] / modules / roles / manifests / dsa_gitolite.pp
1 # dsa's gitolite host
2 class roles::dsa_gitolite {
3   # we push the dsa-wiki build host
4   #
5   $key = $facts['git_key']
6
7   if ($key) {
8     ssh::authorized_key_add { 'dsa_gitolite::dsa_wiki_buildhost':
9       target_user => 'dsa',
10       command     => '/srv/dsa.debian.org/bin/update',
11       key         => $facts['git_key'],
12       collect_tag => 'dsa_wiki_buildhost',
13     }
14   }
15 }