class Object
Constants
- CHOICES_APPSERVER
- CHOICES_DATABASE
- CHOICES_VHOST_TYPES
- CHOICES_WEBSERVER
deploify defines some generic recipes for common services including web, app and database servers
They default to my current favourites which you can override
Service options
- PROJECT_CONFIG_FILES
- SYSTEM_CONFIG_FILES
The following two Constants contain details of the configuration files used by each service. They’re used when generating config files from templates and when configs files are pushed out to servers.
They are populated by the recipe file for each service
Public Instance Methods
_cset(name, *args, &block)
click to toggle source
Set the value if not already set This method is accessible to all recipe files Defined and used by capistrano/deploy tasks
# File lib/deploify/recipes/deploify.rb, line 11 def _cset(name, *args, &block) unless exists?(name) set(name, *args, &block) end end
Also aliased as: default
project_config_files()
click to toggle source
# File lib/deploify/recipes/nginx.rb, line 33 def project_config_files PROJECT_CONFIG_FILES[:nginx] + [{ :template => "vhost_#{nginx_vhost_type}.conf.erb", :path => "vhost.conf", :mode => 0640, :owner => "root:root" }] end