summaryrefslogtreecommitdiff
path: root/lib/chef/resource/kernel_module.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/chef/resource/kernel_module.rb')
-rw-r--r--lib/chef/resource/kernel_module.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/chef/resource/kernel_module.rb b/lib/chef/resource/kernel_module.rb
index 54f213cd11..8c14abede4 100644
--- a/lib/chef/resource/kernel_module.rb
+++ b/lib/chef/resource/kernel_module.rb
@@ -46,6 +46,7 @@ class Chef
execute "update initramfs" do
command initramfs_command
+ default_env true
action :nothing
end
end
@@ -65,6 +66,7 @@ class Chef
execute "update initramfs" do
command initramfs_command
+ default_env true
action :nothing
end
@@ -81,6 +83,7 @@ class Chef
execute "update initramfs" do
command initramfs_command
+ default_env true
action :nothing
end