Update manifests/static/ssh.pp to new authorized_key_add interface
authorPeter Palfrader <peter@palfrader.org>
Sat, 14 Sep 2019 11:04:07 +0000 (13:04 +0200)
committerPeter Palfrader <peter@palfrader.org>
Sat, 14 Sep 2019 11:04:07 +0000 (13:04 +0200)
modules/roles/manifests/static/ssh.pp

index 35cf603..22078cb 100644 (file)
@@ -10,7 +10,7 @@ class roles::static::ssh(
     target_user => 'staticsync',
     command     => "/usr/local/bin/staticsync-ssh-wrap ${::fqdn}",
     key         => $facts['staticsync_key'],
-    restrict    => 'restrict,pty',
+    options     => ['restrict', 'pty'],
     collect_tag => $add_tag,
   }
   ssh::authorized_key_collect { 'staticsync':