Skip to content

Commit

Permalink
Update lib/puppet/provider/openssl.rb
Browse files Browse the repository at this point in the history
Co-authored-by: Ewoud Kohl van Wijngaarden <[email protected]>
  • Loading branch information
trefzer and ekohl committed Jul 5, 2021
1 parent 632eece commit a2fe174
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/puppet/provider/openssl.rb
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ def owner
end

def owner=(should)
File.send(:chown, uid(should), nil, resource[:path])
File.chown(uid(should), nil, resource[:path])
rescue => detail
raise Puppet::Error, _("Failed to set owner to '%{should}': %{detail}") % { should: should, detail: detail }, detail.backtrace
end
Expand Down

0 comments on commit a2fe174

Please sign in to comment.