Module: Capricorn::Actors::ApacheActor::Config

Defined in:
lib/capricorn/actors/apache_actor.rb

Instance Method Summary collapse

Instance Method Details

#apache_conf_path(&block) ⇒ Object

path to the vhost specific config files



48
49
50
# File 'lib/capricorn/actors/apache_actor.rb', line 48

def apache_conf_path(&block)
  satellite_option(:apache_conf_path, block) { |s,v| v or "/opt/local/apache2/conf/apps/#{s.domain}.conf" }
end

#apachectl_path(&block) ⇒ Object

path to the apachectl tool



43
44
45
# File 'lib/capricorn/actors/apache_actor.rb', line 43

def apachectl_path(&block)
  option(:apachectl_path, block) { |v| v or find_bin('apache2ctl', 'apachectl') }
end