Permalink
Browse files

Consistent param names in 'app user setup'.

  • Loading branch information...
1 parent 6ed5280 commit 6ce0663111a6bf5b8d4c15f7c8b12ee24e7364c0 @benhoskings committed Jan 27, 2013
Showing with 5 additions and 4 deletions.
  1. +5 −4 user.rb
View
@@ -19,12 +19,13 @@
]
end
-dep 'app user setup', :user, :key, :env do
+dep 'app user setup', :username, :key, :env do
env.default('production')
requires [
- 'user setup'.with(user, key), # Dot files, ssh keys, etc.
- 'app env vars set'.with(user, env), # Set RACK_ENV and friends.
- 'web repo'.with("~#{user}/current") # Configure ~/current to accept deploys.
+ 'user exists'.with(:username => username),
+ 'user setup'.with(username, key), # Dot files, ssh keys, etc.
+ 'app env vars set'.with(username, env), # Set RACK_ENV and friends.
+ 'web repo'.with("~#{username}/current") # Configure ~/current to accept deploys.
]
end

0 comments on commit 6ce0663

Please sign in to comment.