diff options
author | Thom May <thom@chef.io> | 2016-05-10 17:09:57 +0100 |
---|---|---|
committer | Thom May <thom@chef.io> | 2016-05-16 13:38:12 +0100 |
commit | 09ae18ee32b61e1b3c607dcc84c9d59d2c300428 (patch) | |
tree | 0add1084ac4642c5119dff102000075bf6d58321 /lib/chef/deprecation/provider | |
parent | 9bd561b2fafe03444d690bef0b882a446b327cd6 (diff) | |
download | chef-09ae18ee32b61e1b3c607dcc84c9d59d2c300428.tar.gz |
Ensure that solo specific code is run at the proper time
ie, only when we're in OG mode and not in local mode.
Signed-off-by: Thom May <thom@chef.io>
Diffstat (limited to 'lib/chef/deprecation/provider')
-rw-r--r-- | lib/chef/deprecation/provider/remote_file.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/deprecation/provider/remote_file.rb b/lib/chef/deprecation/provider/remote_file.rb index b469609ffe..aefb04752e 100644 --- a/lib/chef/deprecation/provider/remote_file.rb +++ b/lib/chef/deprecation/provider/remote_file.rb @@ -56,7 +56,7 @@ class Chef def source_file(source, current_checksum, &block) if absolute_uri?(source) fetch_from_uri(source, &block) - elsif !Chef::Config[:solo] + elsif !Chef::Config[:solo_legacy_mode] fetch_from_chef_server(source, current_checksum, &block) else fetch_from_local_cookbook(source, &block) |