Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Incorporate danman01's work into donnoman:master #3

Open
wants to merge 38 commits into
base: master
Choose a base branch
from
Open
Changes from 1 commit
Commits
Show all changes
38 commits
Select commit Hold shift + click to select a range
47fb37e
adding hook after setup to install
danman01 Jun 25, 2013
088ebb8
adding after setup hook
danman01 Jun 25, 2013
4d899f9
changing out utilities usage to use sudo
danman01 Jun 25, 2013
99b4814
expanding --group
danman01 Jun 25, 2013
79a655f
trying utilities sudo
danman01 Jun 25, 2013
2dc7d87
adding sudo to addgroup
danman01 Jun 25, 2013
2aea39f
taking out custom adduser and addgroup code, as i edited utilities mo…
danman01 Jun 25, 2013
ed4d252
Create postgresql.rb
danman01 Jun 25, 2013
7014a04
changing hooks to work with deploy:setup
danman01 Jun 25, 2013
68ec3aa
adding set default method
danman01 Jun 25, 2013
5301fbf
Update postgresql.rb
danman01 Jun 25, 2013
67ba75a
Update postgresql.rb
danman01 Jun 25, 2013
f9df481
adding set default method
danman01 Jun 25, 2013
d032775
Update postgresql.rb
danman01 Jun 25, 2013
cb4ef6d
wrapped everything up
danman01 Jun 25, 2013
a3a22a4
Update postgresql.rb
danman01 Jun 25, 2013
91ef792
removed set default and just using set
danman01 Jun 25, 2013
eee7f52
setting values to blocks
danman01 Jun 25, 2013
9517319
Update postgresql.rb
danman01 Jun 25, 2013
174bb8d
Update postgresql.rb
danman01 Jun 25, 2013
13ccfa9
Update postgresql.rb
danman01 Jun 25, 2013
cc6ea8e
Update postgresql.rb
danman01 Jun 25, 2013
ec486cc
Update postgresql.rb
danman01 Jun 25, 2013
7c27909
Update postgresql.rb
danman01 Jun 25, 2013
cbd1164
commenting postgresql setup to not generate database yml
danman01 Jun 25, 2013
0f2aa5b
adding full list of available install recipes to readme
danman01 Jun 25, 2013
e0cf30b
Update postgresql.rb
danman01 Jun 25, 2013
9d1f5ec
adding after setup hook
danman01 Jun 26, 2013
f754f64
adding some rollback tasks
danman01 Jun 26, 2013
910b75b
commenting out postgresql ssetup for now...
danman01 Jun 26, 2013
46a8445
adding deploy:provision back into the mix
danman01 Jun 26, 2013
7d37e51
relying on deploy:provision once more
danman01 Jun 26, 2013
0498f4f
removing deploy:setup install hook
danman01 Jun 26, 2013
4d2b068
taking out hooks
danman01 Jun 26, 2013
e457cb6
Update hooks.rb
danman01 Jun 26, 2013
4127a7a
took out deploy setup hook
danman01 Jun 26, 2013
bc7dbcd
adding provision task
danman01 Jun 26, 2013
1084117
Update manage.rb
danman01 Jun 26, 2013
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update hooks.rb
danman01 committed Jun 26, 2013
commit e457cb63361181e094bc440f743f9816a0fe1d5a
2 changes: 1 addition & 1 deletion lib/cap_recipes/tasks/rails/hooks.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Capistrano::Configuration.instance(true).load do
after "deploy:update_code", "rails:symlink_db_config" # copy database.yml file to release path
#after "deploy:update_code", "rails:symlink_db_config" # copy database.yml file to release path
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you explain your reasoning for removing?

Is this a change for everybody or just you.

because you could chose to do

require 'cap-recipes/tasks/rails/manage.rb

instead of

require 'cap-recipes/tasks/rails'

in your deploy.rb and let this file remain unmodified for those who still depend on it.

#after "deploy:update_code", "rails:sweep:cache" # clear cache after updating code
#after "deploy:restart" , "rails:repair_permissions" # fix the permissions to work properly
#after "deploy:restart" , "rails:ping" # ping passenger to start the rails instance