How to symlink additional config file on application deployment
Hello,
I'm deploying a Scalarium application, which beside "database.yml" etc. has some custom configuration files, which should be shared between deployments. What is the best way to achieve this?
Thanks!
Comments are currently closed for this discussion. You can start a new one.
Support Staff 2 Posted by Jonathan Weiss on 26 Mar, 2012 11:51 AM
The best way to do this is using deploy-hooks, see http://wiki.opscode.com/display/chef/Deploy+Resource#DeployResource...
an example would be
deploy/before_migrate.rb:This would symlink the my_special.yml another.yml from shared/config to current/config on every dpeloy.
Jonathan Weiss closed this discussion on 26 Mar, 2012 11:51 AM.