summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThom May <thom@may.lt>2018-04-23 18:02:03 +0100
committerGitHub <noreply@github.com>2018-04-23 18:02:03 +0100
commit669effad9f4142015ed145640c223a80dbabe0b4 (patch)
treec8bbf5f2e2c849e8cd1edf5eae0e21fe843d09e7
parent49692feaaa5c4ae3cdef2d9afadd5d71b596697c (diff)
parentd55e614940a4fd793718ec183f3c5597803b8b78 (diff)
downloadchef-669effad9f4142015ed145640c223a80dbabe0b4.tar.gz
Merge pull request #7160 from chef/sudo_double_property
Remove duplicate source property in the sudo resource
-rw-r--r--lib/chef/resource/sudo.rb1
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/chef/resource/sudo.rb b/lib/chef/resource/sudo.rb
index 95fb2d0282..af26bde595 100644
--- a/lib/chef/resource/sudo.rb
+++ b/lib/chef/resource/sudo.rb
@@ -171,7 +171,6 @@ class Chef
end
else
declare_resource(:template, "#{target}#{new_resource.filename}") do
- source "sudoer.erb"
source ::File.expand_path("../support/sudoer.erb", __FILE__)
local true
mode "0440"