-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathREADME
78 lines (53 loc) · 2.59 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
Name:
don't really have a good one yet, so took the reverse of cap..
Running:
I usually have my ssh-keys added during a coding session. Among them
are ones for my git repositories and one for my production server. To
add yours simply:
ssh-add ~/.ssh/gitrepo
ssh-add ~/.ssh/production
If you do this before you hop into SCREEN you'll be able to close/open
as many shells as you want without having to retype your password.
Now you may run pac.
Options:
generate
-- can be ran multiple times to modify the yaml file from a guided
script
install
-- can either accept from commandline what host to install from or
choose from list; can modify values on the fly depending on which
host you've chosen; searches for dependencies and auto-installs
them; should be smart enough to grab the right depedencies for
certain things
upgrade
-- can accept syntax like 'upgrade bluffweb' to do a git diff and
grab the latest code
restart
-- can accept syntax like 'restart mysql' or 'restart bluffparse'
Assumptions:
* all ssh-keys have been added in your path, which I do before I start
up a screen session; if not we should eventually be able to point
various keys to whatever project/server and allow it to be smart enough
to where you only have to type in your password once instead of 20 times
* if you get an error such as
"ion.rb:199:in `method_missing': undefined method `exec!' for #<Net::SSH::Session:0xb792a53"
install libopenssl-ruby (you should already have
this but since this is an auto-provisioning utility you might not)
you'll also need the gem (net-ssh) version: 2.0.1 of this writing..
* you need amazon-ec2 gem sudo gem install amazon-ec2
Cucumber Stories/TODO/etc..:
* easy easy easy auto-provisioining of deployments
* capistrano sucks ass so much!
* should have a DSL for doing quick tasks in the shell?
* should be able to pull multiple projects into a deployment
(java app && merb app)
* should be able to do extensive conf editing, etc. each time
* should not have to type in the password every time for something as simple
as restarting a server
* upgrade should upgrade all code from your repositories by default unless
you specify only repository to upgrade
* should auto-generate a recipe for you based on various questions
* also should have the ability to modify this recipe later on
* basically we are looking at zero-conf editing
* should support individual keys and/or passwords for each repo you add
* should try to use ssh-agent logins already available in your environment..