Skip to content

Commit

Permalink
Add ps front role
Browse files Browse the repository at this point in the history
  • Loading branch information
ivanvc committed Feb 10, 2012
1 parent 5800b0e commit 6e0f075
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions roles/ps-front.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
name "ps-front"
recipes %w{nginx::source git unicorn capistrano sudo users users::mysql}
default_attributes unicorn: { rails_root: '/data/ps/current',
socket: '/data/ps/current/tmp/pids/ps.sock' },
timestamp: { name: 'US/Pacific' },
capistrano: { user: 'deploy', dir: '/data/ps' },
authorization: { sudo: { users: %w{deploy vagrant},
passwordless: true } }

0 comments on commit 6e0f075

Please sign in to comment.