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
The line cookbook is updated to latest which is v1.0.2, but that breaks the chef-client run, version 0.6.3 is working.
* append_if_no_line[export /data] action edit[2017-08-01T11:21:20+02:00] INFO: Processing append_if_no_line[export /data] action edit (/root/.chef/local-mode-cache/cache/cookbooks/nfs/providers/export.rb line 61) ================================================================================ Error executing action `edit` on resource 'append_if_no_line[export /data]' ================================================================================ NoMethodError ------------- undefined method `escape_string' for #<Chef::Provider::AppendIfNoLine:0x0000000c383130> Cookbook Trace: --------------- /root/.chef/local-mode-cache/cache/cookbooks/line/libraries/provider_append_if_no_line.rb:29:in `action_edit' /root/.chef/local-mode-cache/cache/cookbooks/nfs/providers/export.rb:73:in `block in class_from_file' Resource Declaration: --------------------- # In /root/.chef/local-mode-cache/cache/cookbooks/nfs/providers/export.rb 61: append_if_no_line "export #{new_resource.name}" do 62: path '/etc/exports' 63: line export_line 64: notifies :run, 'execute[exportfs]', :immediately 65: end 66: end Compiled Resource: ------------------ # Declared in /root/.chef/local-mode-cache/cache/cookbooks/nfs/providers/export.rb:61:in `block in class_from_file' append_if_no_line("export /data") do action :edit retries 0 retry_delay 2 default_guard_interpreter :default declared_type :append_if_no_line cookbook_name "bubble" path "/etc/exports" line "/data 192.168.22.0/24(rw,sync,no_root_squash,async,fsid=1)\n" end System Info: ------------ chef_version=12.21.3 platform=centos platform_version=7.3.1611 ruby=ruby 2.3.1p112 (2016-04-26 revision 54768) [x86_64-linux] program_name=chef-client worker: ppid=28096;start=11:20:52; executable=/opt/chef/bin/chef-client [2017-08-01T11:21:22+02:00] INFO: Running queued delayed notifications before re-raising exception ================================================================================ Error executing action `create` on resource 'nfs_export[/data]' ================================================================================ NoMethodError ------------- append_if_no_line[export /data] (/root/.chef/local-mode-cache/cache/cookbooks/nfs/providers/export.rb line 61) had an error: NoMethodError: undefined method `escape_string' for #<Chef::Provider::AppendIfNoLine:0x0000000c383130> Cookbook Trace: --------------- /root/.chef/local-mode-cache/cache/cookbooks/line/libraries/provider_append_if_no_line.rb:29:in `action_edit' /root/.chef/local-mode-cache/cache/cookbooks/nfs/providers/export.rb:73:in `block in class_from_file' Resource Declaration: --------------------- # In /root/.chef/local-mode-cache/cache/cookbooks/bubble/recipes/nfs.rb 21: nfs_export '/data' do 22: network '192.168.22.0/24' 23: writeable true 24: sync true 25: options ['no_root_squash', 'async', 'fsid=1'] 26: end 27: Compiled Resource: ------------------ # Declared in /root/.chef/local-mode-cache/cache/cookbooks/bubble/recipes/nfs.rb:21:in `from_file' nfs_export("/data") do action :create retries 0 retry_delay 2 default_guard_interpreter :default declared_type :nfs_export cookbook_name "bubble" recipe_name "nfs" network "192.168.22.0/24" writeable true sync true options ["no_root_squash", "async", "fsid=1"] directory "/data" end System Info: ------------ chef_version=12.21.3 platform=centos platform_version=7.3.1611 ruby=ruby 2.3.1p112 (2016-04-26 revision 54768) [x86_64-linux] program_name=chef-client worker: ppid=28096;start=11:20:52; executable=/opt/chef/bin/chef-client
The text was updated successfully, but these errors were encountered:
No branches or pull requests
The line cookbook is updated to latest which is v1.0.2, but that breaks the chef-client run, version 0.6.3 is working.
The text was updated successfully, but these errors were encountered: