intercity / chef-repo

Set up your server to host Ruby on Rails apps. - Follow us on Twitter: @intercityup
MIT License
417 stars 84 forks source link

Added the ability to remove your application #183

Closed jvanbaarsen closed 9 years ago

jvanbaarsen commented 9 years ago

By adding "remove_applications": ["your_app_name"] to your json node you can now remove the application from the server.

In this first version we clean up the following things: 1) App files (/u/apps/app_name) 2) Disable log_rotate 3) Remove the NGINX config 4) Disable the backup cron 5) Remove the backup config file.

I'm not super happy with the name remove_applications for the recipe. So if you can come up with a better name, please let me know!

internet-typing1

/cc @joshuajansen @michiels

michiels commented 9 years ago

:+1: