Skip to content

Commit

Permalink
Merge pull request #112 from noelafjones/master
Browse files Browse the repository at this point in the history
Set default_env so exportfs can be found under Chef 14.2+
  • Loading branch information
atomic-penguin authored Nov 4, 2020
2 parents 664440b + 9880806 commit dd359b5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions providers/export.rb
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@

execute 'exportfs' do
command 'exportfs -ar'
default_env true if respond_to?('default_env')
action :nothing
end

Expand Down

0 comments on commit dd359b5

Please sign in to comment.