rundeck-ec2-nodes-plugin icon indicating copy to clipboard operation
rundeck-ec2-nodes-plugin copied to clipboard

Spaces in the Mapping Params

Open TheTomahawk opened this issue 4 years ago • 0 comments

It took me 45 minutes to work out why this wasn't working: nodename.selector=tags/Name+'-'+instanceId; ssh-key-storage-path.selector='keys/'+keyName

It turns out that instead of the 2nd attribute being called "ssh-key-storage-path" it was called " ssh-key-storage-path" -- the space after the semi-colon was being added to the name of the attribute. So SSH was failing despite it looking like the value was set correctly.

Whilst this is probably a technically correct thing, maybe, I feel it would be better to strip off leading whitespace, and if someone really needs it (???) then have them escape it with a .

TheTomahawk avatar May 07 '20 15:05 TheTomahawk