We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
When running the host_agent recipe i'm getting the following error from the s3_file.rb resource:
undefined local variable or method `use_inline_resources' for #Class:0x000000043b7e88
/var/chef/cache/cookbooks/dynatrace-appmon/resources/s3_file.rb:22:in `class_from_file'
/var/chef/cache/cookbooks/dynatrace-appmon/resources/s3_file.rb:
15: property :region, String 16: property :access_key_id, String 17: property :secret_access_key, String 18: property :owner, String 19: property :group, String 20: property :mode, String 21: 22>> use_inline_resources 23: 24: action :create do 25: require 'aws-sdk' 26: 27: # Detecting if we want to upload or download from S3 28: upload_to_s3 = false 29: if source.start_with?('s3://') 30: s3_url = source.dup 31: elsif target.start_with?('s3://')
My system run info is provided below:
chef_version=12.21.3 platform=redhat platform_version=7.3 ruby=ruby 2.3.1p112 (2016-04-26 revision 54768) [x86_64-linux] program_name=chef-client worker: ppid=28803;start=11:06:34; executable=/opt/chef/bin/chef-client
This is on an aws instance.
The text was updated successfully, but these errors were encountered:
me too
Sorry, something went wrong.
+1
No branches or pull requests
When running the host_agent recipe i'm getting the following error from the s3_file.rb resource:
NameError
undefined local variable or method `use_inline_resources' for #Class:0x000000043b7e88
Cookbook Trace:
/var/chef/cache/cookbooks/dynatrace-appmon/resources/s3_file.rb:22:in `class_from_file'
Relevant File Content:
/var/chef/cache/cookbooks/dynatrace-appmon/resources/s3_file.rb:
15: property :region, String
16: property :access_key_id, String
17: property :secret_access_key, String
18: property :owner, String
19: property :group, String
20: property :mode, String
21:
22>> use_inline_resources
23:
24: action :create do
25: require 'aws-sdk'
26:
27: # Detecting if we want to upload or download from S3
28: upload_to_s3 = false
29: if source.start_with?('s3://')
30: s3_url = source.dup
31: elsif target.start_with?('s3://')
My system run info is provided below:
System Info:
chef_version=12.21.3
platform=redhat
platform_version=7.3
ruby=ruby 2.3.1p112 (2016-04-26 revision 54768) [x86_64-linux]
program_name=chef-client worker: ppid=28803;start=11:06:34;
executable=/opt/chef/bin/chef-client
This is on an aws instance.
The text was updated successfully, but these errors were encountered: