Node-attribute ALL THE THINGS
This commit is contained in:
@@ -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']
|
||||
|
||||
Reference in New Issue
Block a user