adding globbing on dirs using ruby style glob patterns

Signed-off-by: Damien Le Berrigaud <damien@pivotallabs.com>