Method: PoolParty::Resources::Apache#config

Defined in:
lib/poolparty/plugins/apache.rb

#config(name, temp) ⇒ Object



157
158
159
160
161
162
163
# File 'lib/poolparty/plugins/apache.rb', line 157

def config(name, temp)
  has_file(:name => "/etc/apache2/conf.d/#{name}.conf") do
    template File.dirname(__FILE__)/temp
    notifies get_exec("reload-apache2"), :run
    requires get_exec("reload-apache2")
  end
end