refactoring the version check
refactoring the version check

Signed-off-by: John McCrae <c8b8d0861331e1e7adfdb1a261a217daceff4f26@progress.com>

chef/chef,chef/chef,gene1wood/chef,chef/chef,gene1wood/chef,chef/chef,gene1wood/chef,gene1wood/chef