Fix inventory parsing so that FQDN can be parsed without throwing ssh

port parsing errors
Fixes problesm introduced by 948d019fef
Adds testcases to defend
This commit is contained in:
John Barker
2013-12-18 21:33:05 +00:00
parent 3f81c3c416
commit 4bf9f714d0
3 changed files with 28 additions and 4 deletions

View File

@@ -87,3 +87,9 @@ host[2:3]
[role3]
host[1:3:2]
[role4]
blade-[a:c]-[1:16]
blade-[d:z]-[01:16].example.com
blade-[1:10]-[1:16]
host-e-[10:16].example.net:1234