Permalink
Browse files

Release 0.7.0

  • Loading branch information...
1 parent 2e6b7fb commit 523659b0ac9dd8fa578b1b74b7184d2a1ebcc103 @delano delano committed May 2, 2009
Showing with 20 additions and 42 deletions.
  1. +3 −2 README.rdoc
  2. +12 −13 Rudyfile
  3. +3 −25 bin/ird
  4. +1 −1 bin/rudy
  5. +1 −1 bin/rudy-ec2
View
@@ -1,4 +1,4 @@
-= Rudy - v0.6 ALPHA
+= Rudy - v0.7 BETA
<b>Not your grandparents' EC2 deployment tool.</b>
@@ -16,7 +16,7 @@ All configuration is organized into the zones, environments, and roles that you
<b>See Getting-Started[http://wiki.github.com/solutious/rudy/getting-started] for more info.</b>
-<em>NOTE: This is an ALPHA release. That means Rudy's not ready for production use! See Project-Status[http://wiki.github.com/solutious/rudy/project-status].</em>
+<em>NOTE: This is a BETA release. That means Rudy's not ready for production use! See Project-Status[http://wiki.github.com/solutious/rudy/project-status].</em>
== Features
@@ -86,6 +86,7 @@ NOTE: <em>If you are not installing via RubyGems, you need to make sure the depe
* Everyone at Utrecht.rb[http://groups.google.com/group/utrecht-rb]
* Jamis Buck for Net::SSH and friends
* Glenn Rempe for amazon-ec2
+* Marcel Molina Jr. for aws-s3
* Keshia Knight Pulliam
View
@@ -1,9 +1,7 @@
-# = Rudy
+# = Rudy -- Example configuration
#
-# This is an example Rudy configuration.
-#
-# Rudy automatically looks for configuration files in the
-# following locations (in this order):
+# Rudy automatically looks for configuration files in the following
+# locations (in this order):
#
# ./.rudy/config
# ~/.rudy/config
@@ -13,9 +11,9 @@
# ./.rudy/*.rb
# /etc/rudy/*.rb
#
-# When multuple files are found, the configuration is
-# NOT OVERRIDDEN. It's ADDED / APPENDED. This means you can
-# split configuration across many files as you please.
+# When multuple files are found, the configuration is NOT OVERRIDDEN,
+# it's ADDED or APPENDED depending on context. This means you can split
+# configuration across many files as you please.
#
# There are four sections: accounts, defaults, machines, commands and routines.
#
@@ -36,7 +34,7 @@ machines do
ami 'ami-e40f2790' # Amazon Getting Started AMI (EU)
end
- hostname :rudy # One of: :default, :rudy, "a value"
+ hostname :rudy # One of: :default, :rudy, "your-name"
# We've defined an environment called "stage" with one role: "app".
# The configuration inside the env block is available to all its
@@ -63,8 +61,8 @@ machines do
role :balancer do # a couple examples.
end
- users do # Specify existing private keys
- #root do # (optional)
+ users do # Specify existing private keys per user
+ #root do
# keypair "/path/2/private-key"
#end
end
@@ -133,14 +131,15 @@ routines do
# to every environment and role.
sysupdate do # $ rudy sysupdate
before :root do
- apt_get "update"
+ apt_get "update" # Update debian / ubuntu
apt_get "install", "apache2-prefork-dev", "libapr1-dev"
apt_get "install", "build-essential", "sqlite3", "libsqlite3-dev"
gem_install 'rudy'
end
end
- nothing do
+ # Define your own routines
+ anything do # $ rudy anything
end
end
View
28 bin/ird
@@ -22,31 +22,9 @@ require 'drydock'
require 'rudy/cli'
-module RudyCLI_Interactive # :nodoc:all
- extend self
- extend Drydock
- include Readline
-
- global :A, :accesskey, String, "AWS Access Key"
- global :S, :secretkey, String, "AWS Secret Access Key"
- #global :R, :region, String, "Connect to a specific EC2 region (ie: #{Rudy::DEFAULT_REGION})"
- #global :n, :nocolor, "Disable output colors"
- global :f, :config, String, "Specify another configuration file to read (ie: #{Rudy::CONFIG_FILE})"
- global :z, :zone, String, "Connect to a specific EC2 zone (ie: #{Rudy::DEFAULT_ZONE})"
- global :e, :environment, String, "Connect to the specified environment (ie: #{Rudy::DEFAULT_ENVIRONMENT})"
- global :r, :role, String, "Connect to a machine with the specified role (ie: #{Rudy::DEFAULT_ROLE})"
- global :p, :position, String, "Position in the machine in its group (ie: #{Rudy::DEFAULT_POSITION})"
- global :u, :user, String, "Provide a username (ie: #{Rudy::DEFAULT_USER})"
- #global :q, :quiet, "Run with less output"
- #global :v, :verbose, "Increase verbosity of output (i.e. -v or -vv or -vvv)" do
- # @verbose ||= 0
- # @verbose += 1
- #end
- global :V, :version, "Display version number" do
- puts "Rudy version: #{Rudy::VERSION}"
- exit 0
- end
+class RudyCLI_Interactive < Rudy::CLI::Base # :nodoc:all
+ include Readline
default :interactive
debug :off
@@ -166,7 +144,7 @@ module RudyCLI_Interactive # :nodoc:all
end
-include CLI # So we don't have to say CLI.example in the REPL.
+#include RudyCLI_Interactive # So we don't have to say CLI.example in the REPL.
__END__
View
@@ -10,7 +10,7 @@
$:.unshift File.join(File.dirname(__FILE__), '..', 'lib') # Put our local lib in first place
$:.unshift File.join(File.dirname(__FILE__), '..', 'vendor', 'highline-1.5.1', 'lib')
-%w{net-ssh amazon-ec2 caesars drydock rye}.each { |dir| $:.unshift File.join(File.dirname(__FILE__), '..', '..', dir, 'lib') }
+#%w{net-ssh amazon-ec2 caesars drydock rye}.each { |dir| $:.unshift File.join(File.dirname(__FILE__), '..', '..', dir, 'lib') }
#require 'rubygems'
#$SAFE = 1 # require is unsafe in Ruby 1.9??
View
@@ -11,7 +11,7 @@
$:.unshift File.join(File.dirname(__FILE__), '..', 'lib') # Put our local lib in first place
$:.unshift File.join(File.dirname(__FILE__), '..', 'vendor', 'highline-1.5.1', 'lib')
-%w{net-scp amazon-ec2 caesars rye}.each { |dir| $:.unshift File.join(File.dirname(__FILE__), '..', '..', dir, 'lib') }
+#%w{net-scp amazon-ec2 caesars rye}.each { |dir| $:.unshift File.join(File.dirname(__FILE__), '..', '..', dir, 'lib') }
#require 'rubygems'
require 'rudy'

0 comments on commit 523659b

Please sign in to comment.