diff options
author | Claire McQuin <claire@getchef.com> | 2014-09-18 16:14:42 -0700 |
---|---|---|
committer | Claire McQuin <claire@getchef.com> | 2014-09-18 16:14:42 -0700 |
commit | 5582bb8ffdcf2877b9c1c8b892f3ad7d4303a7d1 (patch) | |
tree | 6e49a7aac7f25dcf54dfa58ab1e82dd64a29a5f3 | |
parent | a5e0ab87656144943e27cde0cc1c9344b2d446f2 (diff) | |
download | chef-5582bb8ffdcf2877b9c1c8b892f3ad7d4303a7d1.tar.gz |
Use PathHelper's glob.
-rw-r--r-- | lib/chef/provider/deploy.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/chef/provider/deploy.rb b/lib/chef/provider/deploy.rb index 426e69644e..f46a7e112e 100644 --- a/lib/chef/provider/deploy.rb +++ b/lib/chef/provider/deploy.rb @@ -22,6 +22,7 @@ require "chef/monkey_patches/fileutils" require "chef/provider/git" require "chef/provider/subversion" require "chef/dsl/recipe" +require "chef/util/path_helper" class Chef class Provider @@ -243,7 +244,7 @@ class Chef end def all_releases - Dir.glob(@new_resource.deploy_to + "/releases/*").sort + Chef::Util::PathHelper.glob(@new_resource.deploy_to + "/releases/*").sort end def update_cached_repo |