Guest User

Untitled

a guest
Apr 24th, 2018
67
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.03 KB | None | 0 0
  1. Getting a syntax error in here on "node", looking for }.
  2.  
  3. The definition is from another imported manifest, and looks like:
  4.  
  5. define shareSslPublicKeyWithNode( $node, $key) {
  6.  
  7. ----------
  8.  
  9. shareSslPublicKeyWithNode{
  10.  
  11. "Share CA public key to ${myNode}" :
  12. node => $myNode
  13. , key => "ca"
  14. ;
  15.  
  16. "Share admin public key to ${myNode}" :
  17. node => $myNode
  18. , key => "admin"
  19. ;
  20.  
  21. "Share ${myNode} public key to ${myNode}" :
  22. node => $myNode
  23. , key => $myNode
  24. ;
  25.  
  26. }
  27.  
  28. ------------
  29.  
  30. Reduced, same error:
  31.  
  32. shareSslPublicKeyWithNode{ "Share CA public key to ${node}" : node => $node , key => "ca" }
  33.  
  34. Syntax error at 'node'; expected '}'
Add Comment
Please, Sign In to add comment