From 047b23cb344e4f029f0c7c5d1c8ce7fe8737dc6d Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Sun, 7 Mar 2010 16:44:16 -0300 Subject: New format for import-key --- manifests/init.pp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/manifests/init.pp b/manifests/init.pp index 6d5ef1a..9cf87db 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -26,7 +26,7 @@ class monkeysphere { # Server host key publication case $monkeysphere_publish_key { false: { - exec { "/usr/sbin/monkeysphere-host import-key /etc/ssh/ssh_host_rsa_key $fqdn": + exec { "/usr/sbin/monkeysphere-host import-key /etc/ssh/ssh_host_rsa_key ssh://$fqdn": unless => "/usr/bin/gpg --homedir /var/lib/monkeysphere/host --list-keys '=ssh://$fqdn' &> /dev/null", user => "root", require => Package["monkeysphere"], -- cgit v1.2.3