From: mh Date: Tue, 5 Jun 2012 21:46:39 +0000 (-0300) Subject: new style for 2.7 X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=8d0127b219afd864c857409d572537cf3247d9dc;p=puppet-sshd.git new style for 2.7 --- diff --git a/README b/README index 417e289..7e1b1f5 100644 --- a/README +++ b/README @@ -210,7 +210,7 @@ Generate a public/private keypair with the ssh_keygen function. For example, the following will generate ssh keys and put the different parts of the key into variables: -$ssh_keys = ssh_keygen("${$ssh_key_basepath}/backup/keys/${fqdn}/${backup_host}") +$ssh_keys = ssh_keygen("${$ssh_key_basepath}/backup/keys/${::fqdn}/${backup_host}") $public_key = split($ssh_keys[1],' ') $sshkey_type => $public_key[0] $sshkey => $public_key[1]