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

No resource or method named aem_jar_installer' for Chef::Recipe "author" #5

Closed
timdonovanuk opened this issue Jul 14, 2014 · 4 comments

Comments

@timdonovanuk
Copy link

NoMethodError

No resource or method named aem_jar_installer' forChef::Recipe "author"'

Cookbook Trace:

/var/chef/site-cookbooks/aem-cookbook-master/recipes/author.rb:22:in `from_file'

Relevant File Content:

/var/chef/site-cookbooks/aem-cookbook-master/recipes/author.rb:

15: # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16: # See the License for the specific language governing permissions and
17: # limitations under the License.
18:
19: include_recipe "aem::_base_aem_setup"
20:
21: unless node[:aem][:use_yum]
22>> aem_jar_installer "author" do
23: download_url node[:aem][:download_url]
24: default_context node[:aem][:author][:default_context]
25: port node[:aem][:author][:port]
26: action :install
27: end
28: end
29:
30: unless node[:aem][:license_url].nil?
31: remote_file "#{node[:aem][:author][:default_context]}/license.properties" do

Running handlers:
[2014-07-14T10:31:17+01:00] ERROR: Running exception handlers
Running handlers complete

[2014-07-14T10:31:17+01:00] ERROR: Exception handlers complete
[2014-07-14T10:31:17+01:00] FATAL: Stacktrace dumped to /var/chef/cache/chef-stacktrace.out
Chef Client failed. 0 resources updated in 1.906949103 seconds
[2014-07-14T10:31:17+01:00] ERROR: No resource or method named aem_jar_installer' forChef::Recipe "author"'
[2014-07-14T10:31:17+01:00] FATAL: Chef::Exceptions::ChildConvergeError: Chef run process exited unsuccessfully (exit code 1)

@bignastybryce
Copy link
Collaborator

Hi timdonovanuk,

Thanks for posting this issue. Can you give us some more details around how you produced this? Our test-kitchen tests still pass for standing up an author.

I suspect that this bug is causing the error to be wrongly reported: https://tickets.opscode.com/browse/CHEF-5011.

Thanks,

-Bryce.

@pdunnavant
Copy link
Collaborator

@timdonovanuk Are you still seeing this issue and/or do you have any more details around how you got this?

@pdunnavant
Copy link
Collaborator

I'm going to go ahead and close this issue. If you are still having issues, we can reopen. Thanks!

@pravrawa
Copy link

pravrawa commented Nov 16, 2016

@paul , I am still facing this issue.
#61

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

4 participants