Faidon Liambotis has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/183821

Change subject: authdns: transition to ssh::userkey
......................................................................

authdns: transition to ssh::userkey

Change-Id: I8185344eb66c7f547fede44691dfb8225b41d9bf
---
M modules/authdns/manifests/account.pp
1 file changed, 2 insertions(+), 3 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/puppet 
refs/changes/21/183821/1

diff --git a/modules/authdns/manifests/account.pp 
b/modules/authdns/manifests/account.pp
index 6f02c7d..fd1b4dc 100644
--- a/modules/authdns/manifests/account.pp
+++ b/modules/authdns/manifests/account.pp
@@ -43,9 +43,8 @@
         mode   => '0400',
         source => 'puppet:///private/authdns/id_rsa.pub',
     }
-    file { "${home}/.ssh/authorized_keys":
-        ensure => 'link',
-        target => 'id_rsa.pub',
+    ssh::userkey { $user:
+        source => 'puppet:///private/authdns/id_rsa.pub',
     }
 
     file { "${home}/git-shell-commands":

-- 
To view, visit https://gerrit.wikimedia.org/r/183821
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I8185344eb66c7f547fede44691dfb8225b41d9bf
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Faidon Liambotis <fai...@wikimedia.org>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to