Module: PoolParty::Plugin
- Defined in:
- lib/poolparty/plugins/gem_package.rb,
lib/poolparty/plugins/git.rb,
lib/poolparty/plugins/svn.rb,
lib/poolparty/plugins/bind.rb,
lib/poolparty/plugins/host.rb,
lib/poolparty/plugins/ruby.rb,
lib/poolparty/plugins/runit.rb,
lib/poolparty/plugins/sshkey.rb,
lib/poolparty/plugins/haproxy.rb,
lib/poolparty/poolparty/plugin.rb,
lib/poolparty/plugins/chef/chef.rb,
lib/poolparty/plugins/heartbeat.rb,
lib/poolparty/plugins/apache2/php5.rb,
lib/poolparty/plugins/line_in_file.rb,
lib/poolparty/plugins/rails_deploy.rb,
lib/poolparty/plugins/apache2/apache.rb,
lib/poolparty/plugins/authorized_key.rb,
lib/poolparty/plugins/plugin_template.rb,
lib/poolparty/plugins/chef/chef_deploy.rb,
lib/poolparty/plugins/deploy_directory.rb,
lib/poolparty/plugins/apache2/virtual_host.rb,
lib/poolparty/plugins/apache2/passenger_site.rb,
lib/poolparty/plugins/poolparty_base_packages.rb,
lib/poolparty/plugins/chef/include_chef_recipe.rb
Overview
Deploy Directory
The deploy directory will copy the source directory from the developer machine (i.e. your laptop) to /tmp/poolparty/cloudname, and then rsync it to the specified target directory on the cloud nodes.
Usage
has_deploy_directory('bob',
:from => "~/path/to/my/site",
:to => "/mnt",
:owner => 'www-data',
:git_pull_first => false #do a git pull in the from directory before syncing
This will place the contents of ~/path/to/my/site from your machine to /mnt/bob on the cloud instances virtual_resource(:deploy_directory)
Defined Under Namespace
Classes: Apache, AuthorizedKey, Bind, Chef, ChefDeploy, DeployDirectory, EmptyPlugin, EnablePhp5, GemPackage, Git, GitRepo, Haproxy, Heartbeat, Host, IncludeChefRecipe, LineInFile, PassengerSite, Plugin, PoolPartyBasePackages, PoolPartyBaseRunit, RailsDeploy, Ruby, Sshkey, Svn, SvnRepos, VirtualHost
Class Method Summary collapse
Class Method Details
.available ⇒ Object
7 8 9 |
# File 'lib/poolparty/poolparty/plugin.rb', line 7 def self.available @available_plugins ||= [] end |