Commit b6bdfcbd authored by Tim Smith's avatar Tim Smith
Browse files

Fix x509_crl to work on non-Linux platforms



Unless specified let the file resources handle permission defaults
Signed-off-by: default avatarTim Smith <tsmith@chef.io>
parent c3b4a2fa
...@@ -8,15 +8,15 @@ property :renewal_threshold, Integer, default: 1 ...@@ -8,15 +8,15 @@ property :renewal_threshold, Integer, default: 1
property :ca_cert_file, String, required: true property :ca_cert_file, String, required: true
property :ca_key_file, String, required: true property :ca_key_file, String, required: true
property :ca_key_pass, String property :ca_key_pass, String
property :owner, String, default: 'root' property :owner, String
property :group, String, default: 'root' property :group, String
property :mode, String, default: '0644' property :mode, String
action :create do action :create do
file new_resource.path do file new_resource.path do
owner new_resource.owner owner new_resource.owner unless new_resource.owner.nil?
group new_resource.group group new_resource.group unless new_resource.group.nil?
mode new_resource.mode mode new_resource.mode unless new_resource.mode.nil?
content crl.to_pem content crl.to_pem
action :create action :create
end end
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment