Skip to content

Latest commit

 

History

History
23 lines (15 loc) · 1.24 KB

resource_apache2_mod.md

File metadata and controls

23 lines (15 loc) · 1.24 KB

apache2_mod

Back to resource list

Sets up configuration file for an Apache module from a template. The template should be in the same cookbook where the definition is used. This is used by the apache2_module definition and is not often used directly.

This will use a template resource to write the module's configuration file in the mods-available under the Apache configuration directory (apache_dir). This is a platform-dependent location.

Properties

Name Type Default Description
template String Name of the template
root_group String node['root_group'] Set to override the platforms default root group for the template file
template_cookbook String apache2 Cookbook containing the template file

Examples

Create #{apache_dir}/mods-available/alias.conf.

apache2_mod "alias"