Search code examples
capistrano

What is the purpose of `set` keyword in Capistrano? (Edited)


set :user, "admin"

From what I can understand, set is a keyword, and it is being used to initialize the user variable with admin as its value.


Solution

  • In a Capistrano configuration

    set :user, "admin"
    

    sets the user variable to the "admin" value. See: Configuration > Access

    The Properties page tells you that the user variable defines "the name of the SSH user for the server".