Skip to content

Latest commit

 

History

History
13 lines (8 loc) · 568 Bytes

resource_apache2_site.md

File metadata and controls

13 lines (8 loc) · 568 Bytes

apache2_site

Back to resource list

Enable or disable a VirtualHost in #{apache_dir}/sites-available by calling a2ensite or a2dissite to manage the symbolic link in #{apache_dir}/sites-enabled.

The template for the site must be managed as a separate resource. For an example of this see apache2_default_site resource.

Properties

Name Type Default Description
name String Name of the site to enable/disable.