We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 34de63d commit 26b3dabCopy full SHA for 26b3dab
providers/ark.rb
@@ -188,6 +188,8 @@ def download_direct_from_oracle(tarball_name, new_resource)
188
template jinfo_file do
189
cookbook "java"
190
source "oracle.jinfo.erb"
191
+ owner new_resource.owner
192
+ group app_group
193
variables(
194
:priority => new_resource.alternatives_priority,
195
:bin_cmds => new_resource.bin_cmds,
@@ -209,6 +211,7 @@ def download_direct_from_oracle(tarball_name, new_resource)
209
211
Chef::Log.debug "Symlinking #{app_dir} to #{app_home}"
210
212
FileUtils.rm_f app_home
213
FileUtils.ln_sf app_dir, app_home
214
+ FileUtils.chown new_resource.owner, app_group, app_home
215
end
216
217
0 commit comments