Commit 0ec70912 authored by Tim Smith's avatar Tim Smith
Browse files

Fix another handling of user/group


Signed-off-by: default avatarTim Smith <tsmith@chef.io>
parent e65ff853
......@@ -20,8 +20,8 @@ include OpenSSLCookbook::Helpers
property :path, String, name_property: true
property :key_length, equal_to: [1024, 2048, 4096, 8192], default: 2048
property :generator, equal_to: [2, 5], default: 2
property :owner, String, default: 'root'
property :group, String, default: node['root_group']
property :owner, String
property :group, String
property :mode, [Integer, String], default: '0640'
action :create do
......@@ -34,8 +34,8 @@ action :create do
file new_resource.path do
action :create
owner new_resource.owner
group new_resource.group
owner new_resource.owner unless new_resource.owner.nil?
group new_resource.group unless new_resource.group.nil?
mode new_resource.mode
sensitive true
content dhparam_content
......
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