Skip to content
zmillman edited this page Dec 27, 2012 · 3 revisions

This is the current list of capistrano commands for a rubber instance vulcanized with complete_passenger_mysql. You can see this for your specific modules by typing: cap -T | grep rubber.

cap rubber:add_role                        # Adds the given ROLES to the instance named ALIAS
cap rubber:bootstrap                       # Bootstraps instances by setting timezone, installing packages and gems
cap rubber:bundle                          # Back up and register an image of the running instance
cap rubber:cancel_spot_instances_request   # Cancel the spot instances request for the given id
cap rubber:config                          # Configures the deployed rails application by running the rubber configuration process
cap rubber:create                          # Create a new EC2 instance with the given ALIAS and ROLES
cap rubber:create_staging                  # Convenience task for creating a staging instance for the given RUBBER_ENV/RAILS_ENV.
cap rubber:describe                        # List all your EC2 instances
cap rubber:describe_bundles                # Describes all your own image bundles
cap rubber:describe_security_groups        # Describes the network security groups
cap rubber:describe_spot_instance_requests # Describes all your spot instance requests
cap rubber:describe_static_ips             # Shows the configured static IPs
cap rubber:describe_volumes                # Shows the configured persistent volumes
cap rubber:describe_zones                  # Describes the availability zones
cap rubber:destroy                         # Destroy the EC2 instance for the given ALIAS
cap rubber:destroy_all                     # Destroy ALL the EC2 instances for the current env
cap rubber:destroy_bundle                  # De-register and Destroy the image for the given name
cap rubber:destroy_staging                 # Destroy the staging instance for the given RUBBER_ENV
cap rubber:destroy_static_ip               # Deallocates the given static ip
cap rubber:destroy_volume                  # Shows the configured persistent volumes
cap rubber:detach_volume                   # Detaches the configured persistent volumes
cap rubber:export_dns_records              # Exports dns records from your provider into the format readable by rubber in rubber-dns.yml
cap rubber:haproxy:reload                  # Reloads the haproxy web server
cap rubber:haproxy:restart                 # Restarts the haproxy server
cap rubber:haproxy:start                   # Starts the haproxy server
cap rubber:haproxy:stop                    # Stops the haproxy server
cap rubber:install                         # Install extra packages and gems.
cap rubber:install_gems                    # Install ruby gems.
cap rubber:install_local_gems              # Convenience task for installing your defined set of ruby gems locally.
cap rubber:install_packages                # Install Ubuntu packages.
cap rubber:install_rails_gems              # Install ruby gems defined in the rails environment.rb
cap rubber:link_bash                       # The ubuntu has /bin/sh linking to dash instead of bash, fix this You can override this task if you don't want this to happen
cap rubber:monit:restart                   # Restart monit daemon monitoring
cap rubber:monit:start                     # Start monit daemon monitoring
cap rubber:monit:stop                      # Stop monit daemon monitoring
cap rubber:move_static_ip                  # Move a static IP address from DONOR machine to RECEIVER machine....
cap rubber:munin:custom_install            # Reconfigures munin
cap rubber:munin:restart                   # Restart munin system monitoring
cap rubber:munin:start                     # Start munin system monitoring
cap rubber:munin:stop                      # Stop munin system monitoring
cap rubber:mysql:custom_install_munin      # Installs some extra munin graphs
cap rubber:mysql:restart                   # Restarts the mysql daemons
cap rubber:mysql:start                     # Starts the mysql daemons
cap rubber:mysql:stop                      # Stops the mysql daemons
cap rubber:reboot                          # Reboot the EC2 instance for the given ALIAS
cap rubber:refresh                         # Refresh the host data for a EC2 instance with the given ALIAS. This is useful to run when rubber:create fails after instance creation
cap rubber:remove_role                     # Removes the given ROLES from the instance named ALIAS
cap rubber:set_timezone                    # Set the timezone using the value of the variable named timezone.
cap rubber:setup_aliases                   # Sets up aliases for instance hostnames based on contents of instance.yml
cap rubber:setup_app_permissions           # Sets permissions of files in application directory to be owned by app_user.
cap rubber:setup_dns_aliases               # Sets up aliases in dynamic dns provider for instance hostnames based on contents of instance.yml.
cap rubber:setup_dns_records               # Sets up the additional dns records supplied in the dns_records config in rubber.yml
cap rubber:setup_gem_sources               # Setup ruby gems sources.
cap rubber:setup_local_aliases             # Sets up local aliases for instance hostnames based on contents of instance.yml.
cap rubber:setup_remote_aliases            # Sets up aliases for instance hostnames based on contents of instance.yml.
cap rubber:setup_security_groups           # Sets up the network security groups. All defined groups will be created, and any not defined will be removed.
cap rubber:setup_static_ips                # Sets up static IPs for the instances configured to have them
cap rubber:setup_volumes                   # Sets up persistent volumes in the cloud. All volumes defined in rubber.yml will be created if necessary, and attached/mounted on their associated instances
cap rubber:tail_logs                       # Live tail of rails log files for all machines. By default tails the rails logs for the current RUBBER_ENV, but one can set FILE=/path/file.*.glob to tails a different set
cap rubber:update                          # Update to the newest versions of all packages/gems.
cap rubber:update_gems                     # Upgrade to the newest versions of all rubygems.
cap rubber:upgrade_packages                # Upgrade to the newest versions of all Ubuntu packages.
cap shell                                  # Begin an interactive Capistrano ...
Clone this wiki locally