Module: Capricorn::Actors::PleskActor::Config
- Defined in:
- lib/capricorn/actors/plesk_actor.rb
Instance Method Summary collapse
-
#plesk_client(&block) ⇒ Object
set the plesk client to be used for this satellite.
-
#plesk_client_bin(&block) ⇒ Object
path to the client tool.
-
#plesk_database_bin(&block) ⇒ Object
path to the database tool.
-
#plesk_database_server(&block) ⇒ Object
host and port of database server.
-
#plesk_domain_bin(&block) ⇒ Object
path to the domain tool.
-
#plesk_httpd_bin(&block) ⇒ Object
path to the httpd tool.
-
#plesk_subdomain_bin(&block) ⇒ Object
path to the subdomain tool.
-
#plesk_websrvmng_bin(&block) ⇒ Object
path to the websrvmng tool.
Instance Method Details
#plesk_client(&block) ⇒ Object
set the plesk client to be used for this satellite.
167 168 169 |
# File 'lib/capricorn/actors/plesk_actor.rb', line 167 def plesk_client(&block) satellite_option(:plesk_client, block) end |
#plesk_client_bin(&block) ⇒ Object
path to the client tool.
172 173 174 |
# File 'lib/capricorn/actors/plesk_actor.rb', line 172 def plesk_client_bin(&block) option(:plesk_client_bin, block) { |v| v or '/usr/local/psa/bin/client' } end |
#plesk_database_bin(&block) ⇒ Object
path to the database tool.
187 188 189 |
# File 'lib/capricorn/actors/plesk_actor.rb', line 187 def plesk_database_bin(&block) option(:plesk_database_bin, block) { |v| v or '/usr/local/psa/bin/database' } end |
#plesk_database_server(&block) ⇒ Object
host and port of database server.
202 203 204 |
# File 'lib/capricorn/actors/plesk_actor.rb', line 202 def plesk_database_server(&block) option(:plesk_database_server, block) end |
#plesk_domain_bin(&block) ⇒ Object
path to the domain tool.
177 178 179 |
# File 'lib/capricorn/actors/plesk_actor.rb', line 177 def plesk_domain_bin(&block) option(:plesk_domain_bin, block) { |v| v or '/usr/local/psa/bin/domain' } end |
#plesk_httpd_bin(&block) ⇒ Object
path to the httpd tool.
197 198 199 |
# File 'lib/capricorn/actors/plesk_actor.rb', line 197 def plesk_httpd_bin(&block) option(:plesk_httpd_bin, block) { |v| v or '/etc/init.d/httpd' } end |
#plesk_subdomain_bin(&block) ⇒ Object
path to the subdomain tool.
182 183 184 |
# File 'lib/capricorn/actors/plesk_actor.rb', line 182 def plesk_subdomain_bin(&block) option(:plesk_subdomain_bin, block) { |v| v or '/usr/local/psa/bin/subdomain' } end |
#plesk_websrvmng_bin(&block) ⇒ Object
path to the websrvmng tool.
192 193 194 |
# File 'lib/capricorn/actors/plesk_actor.rb', line 192 def plesk_websrvmng_bin(&block) option(:plesk_websrvmng_bin, block) { |v| v or '/usr/local/psa/admin/sbin/websrvmng' } end |