Guest User

Untitled

a guest
May 24th, 2018
84
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.48 KB | None | 0 0
  1. class ssh_knownhosts{
  2.  
  3. #Tried this first:
  4. #@@sshkey { $hostname: type => dsa, key => $sshdsakey }
  5. #sshkey <<| |>>
  6.  
  7. #Looked at the wiki, they seem to say it like this:
  8. @sshkey { $hostname: type => dsa, key => $sshdsakey }
  9. sshkey <| |>
  10.  
  11. }
  12.  
  13.  
  14.  
  15. Error is:
  16.  
  17. err: Could not retrieve catalog: Could not parse for environment production: Syntax error at '<|'; expected '|>' at /etc/puppet/manifests/definitions/ssh_knownhosts.pp:32
  18.  
  19. line 32 being the 'sshkey <| |>' line
Add Comment
Please, Sign In to add comment