Node-attribute ALL THE THINGS

This commit is contained in:
2024-01-25 17:40:42 +03:00
parent 211a613e5c
commit 715fdbc2ba
2 changed files with 9 additions and 5 deletions

View File

@@ -3,10 +3,10 @@
# Recipe:: default
#
app_name = "liquor-cabinet"
deploy_user = "deploy"
deploy_group = "deploy"
deploy_path = "/opt/#{app_name}"
app_name = node['liquor-cabinet']['app_name']
deploy_user = node[app_name]['user']
deploy_group = node[app_name]['group']
deploy_path = node[app_name]['deploy_path']
credentials = Chef::EncryptedDataBagItem.load('credentials', app_name)
ruby_version = node[app_name]['ruby']['version']