ssh4allowed << %w{$HOST_DEBIAN_V4}
ssh6allowed << %w{$HOST_DEBIAN_V6}
end
- if classes.include?('roles::puppetmaster') then
- ssh4allowed << "82.195.75.75" # adayevskaya
- ssh6allowed << "2001:41b8:202:deb:1b1b::75" # adayevskaya
- end
if scope.function_has_role(['dns_primary']) then
ssh4allowed << "82.195.75.75" # adayevskaya
ssh6allowed << "2001:41b8:202:deb:1b1b::75" # adayevskaya
# dsa's gitolite host
class roles::dsa_gitolite {
- # we push the dsa-wiki build host
- #
+ # we push various things
$key = $facts['git_key']
if ($key) {
key => $facts['git_key'],
collect_tag => 'dsa_wiki_buildhost',
}
+
+ ssh::authorized_key_add { 'dsa_gitolite::puppetmaster':
+ target_user => 'dsa',
+ command => '/srv/puppet.debian.org/bin/update-git',
+ key => $facts['git_key'],
+ collect_tag => 'puppetmaster',
+ }
}
}