Permalink
Browse files

Add ps front role

  • Loading branch information...
ivanvc committed Feb 10, 2012
1 parent 5800b0e commit 6e0f0752cc6200cd68070f5065e87b6e2799d73e
Showing with 8 additions and 0 deletions.
  1. +8 −0 roles/ps-front.rb
View
@@ -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.