Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

LoadError: cannot load such file -- chef/deprecation/provider/remote_file #2

Open
Tej1288 opened this issue Nov 2, 2017 · 1 comment

Comments

@Tej1288
Copy link

Tej1288 commented Nov 2, 2017

When i try to install sftp_provider throws the following error

LoadError
cm-test01 ---------
cm-test01 cannot load such file -- chef/deprecation/provider/remote_file
cm-test01
cm-test01 Cookbook Trace:
cm-test01 ---------------
cm-test01 /opt/localhome/jbadm/.chef/cache/cookbooks/sftp_provider/libraries/sftp_remote_file.rb:20:in `<top (required)>'
cm-test01
cm-test01 Relevant File Content:
cm-test01 ----------------------
cm-test01 /opt/localhome/jbadm/.chef/cache/cookbooks/sftp_provider/libraries/sftp_remote_file.rb:

@jkerry
Copy link
Owner

jkerry commented Nov 2, 2017

This work was merged into chef core a few years ago. you should be able to use remote_file with a sftp url now unless you're on a much earlier version of chef.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants