I am using Chef 12.0.3 for managing servers. Earlier I was using application cookbook for cloning repository. But now in higher version of application cookbook, this support is moved to new cookbook application_git.
Issue:
- I want to change the path of deploy key
- Contents of ssh_wrapper
- Path of ssh_wrapper.
What I have tried (Current code):
application 'accounts' do
action :deploy
path <somepath>
owner 'nobody'
group 'nogroup'
git 'name' do
repository <repopath>
revision <value>
deploy_key deploy_key
end
end
I am not able to find if I need to pass path using ssh_wrapper_path or ssh_wrapper or deploy_key_path. All are failing.
Currently, I am able to get keys and wrapper but at a wrong place.