Commit 58a035ce authored by Adam Lewenberg's avatar Adam Lewenberg
Browse files

more changes

parent 443d27ea
Loading
Loading
Loading
Loading
Loading
+5 −2
Original line number Diff line number Diff line
@@ -10,11 +10,14 @@

define gitlab_deploykey (
  $key_type = 'rsa',
  $ensure   = 'present',
) {

  # Get the code.stanford.edu (GitLab) private key from wallet and put it
  # in the ssh config directory.
  wallet { "ssh-${key_type}/gitlab-${name}":
    ensure => $ensure,
    type   => 'file',
    file   => '/root/.ssh/id_rsa',
    mode   => '0600',
  }