You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This means that if the user has a nonstandard home directory (eg because it's a system user like www-data) it will fail to pick up the config files etc.
I think the proper way to do this would be to take the home directory from node['etc']['passwd'][new_resource.run_as]['dir'] - but probably it's best to calculate this as a default so that the end-user can also customise the home directory if required.
I can submit a pull if this seems like the right fix?
The text was updated successfully, but these errors were encountered:
The composer_project resource defines a COMPOSER_HOME environment variable in the home directory of the composer user. However this is hardcoded:
This means that if the user has a nonstandard home directory (eg because it's a system user like www-data) it will fail to pick up the config files etc.
I think the proper way to do this would be to take the home directory from
node['etc']['passwd'][new_resource.run_as]['dir']
- but probably it's best to calculate this as a default so that the end-user can also customise the home directory if required.I can submit a pull if this seems like the right fix?
The text was updated successfully, but these errors were encountered: