inviqa/chef-magento — pull request #31 by mlopes (2013-06-19 13:38:32+00:00)
Title: Fix type conflit between defaults and validation

The URI builder validates the port parameter to make sure it is an integer.
Meanwhile, the default values are strings. This causes the recipe to fail,
and breaks compatibility with old configurations where the values are string
as well.
This commit introduces a conversion to Integer on the variable containing the
port configuration, to make sure it passes validation.