Closed jaredstehler closed 4 years ago
Looks like we need to add support for nfs4 fs types and add tests.
The cookbook will support mounting NFS filesystems by creating a mount point directory, updating /etc/fstab and issuing the mount command after #90 is merged. I think that will take care of the conditions you brought up.
Cookbook version
0.11.1
Chef-client version
12.7.2
Platform Details
AWS EC2 Ubuntu 14.04
Scenario:
Trying to mount an
nfs4
(AWS EFS) deviceSteps to Reproduce:
Chef config:
LocalJumpError: filesystem_create_all_from_key[filesystems] (filesystem::default line 24) had an error: LocalJumpError: filesystem[shared_fs] (/opt/bootstrap/vendor/filesystem/providers/create_all_from_key.rb line 33) had an error: LocalJumpError: ruby_block[wait for device] (/opt/bootstrap/vendor/filesystem/providers/default.rb line 88) had an error: LocalJumpError: unexpected return /opt/bootstrap/vendor/filesystem/providers/default.rb:94:in
block (3 levels) in class_from_file' /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/chef-12.7.2/lib/chef/provider/ruby_block.rb:35:in
call' /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/chef-12.7.2/lib/chef/provider/ruby_block.rb:35:in `block in action_run'