I've been trying to extend Capistrano into more than just a web
application deployment framework and into the realm of system
administration.
I wanted to write a recipe file that would include common tasks, such
as adding and deleting system users, but realized that it would only
really work if I
I'm having a difficult time wrapping my head around the differences
between the variables that capistrano uses internally and how to
reference them, specifically hosts, servers, etc.
Basically, i'm trying to define servers on the fly to a generic recipe
file and it's not working:
## myrecipe.rb:
Heh. So disregard this. It really helps if I actually use the right
syntax for reading user input:
username = gets.chomp
*smacks forehead*
- ryan
--~--~-~--~~~---~--~~
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit th
In my digging, I think I had found a way to get capistrano to perform
how I was expecting it to with the -s hosts=server1,server2 set on the
command line:
In actor.rb:
*** 102,108
end
def find_hosts
! environment_values(:hosts) || @options[:hosts]
end
Well, I can appreciate that each Task has its own server scope, but I
was looking for a more generic way to just classify a Task for all
servers, regardless of role. In fact, I have such a homogeneous
environment, I didn't want to classify systems into roles. I merely
wanted to express that a ta