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

Doesn't work with current version of Chef #7

Open
jackkinsella opened this issue Apr 16, 2012 · 2 comments
Open

Doesn't work with current version of Chef #7

jackkinsella opened this issue Apr 16, 2012 · 2 comments

Comments

@jackkinsella
Copy link

Hope to save people some time here. This gem no longer works with the newer releases of Chef.

Using the given example I got this error:


    ArgumentError: wrong number of arguments (3 for 2)

This is caused by line 23 in /lib/chef-deploy.rb


    class Deploy < Chef::Resource

```
  def initialize(name, collection=nil, node=nil)
    super(name, collection, node)
```

The super method, defined in Chef itself, now expects different arguments.

@roidrage
Copy link

Just FYI, Chef has had its own deploy resource for quite a while now, so there's no real need to use this library anymore with recent versions of Chef.

@jackkinsella
Copy link
Author

Thanks, I wasn't aware of that.

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