Cookbook to install apache2 as a wrapper cookbook
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.berkshelf
.idea
attributes
recipes
spec
test/smoke/default
.gitignore
.kitchen.dokken.yml
.kitchen.yml
.rubocop.yml
.travis.yml
Berksfile
CHANGELOG.md
LICENSE
README.md
Rakefile
chefignore
codenamephp.pem.enc
metadata.rb

README.md

Chef Cookbook Apache2

Build Status

Cookbook to install apache2 as a wrapper coockbook for Apache2

Requirements

Supported Platforms

  • Debian Stretch

Chef

  • Chef 13.0+

Cookbook Depdendencies

Usage

Add the cookbook to your Berksfile:

cookbook 'codenamephp_apache2, :github 'codenamephp/chef.cookbook.apache2'

Add the cookbook to your runlist, e.g. in a role:

To install additional modules, you can either set/extend the default['apache']['default_modules']attribute or just add the corresponding apache2::* cookbooks for that module

{
  "name": "default",
  "chef_type": "role",
  "json_class": "Chef::Role",
  "run_list": [
	  "recipe[codenamephp_apache2]"
  ]
}

Attributes

Overwrites

By default, the default['apache']['listen'] is set to ['*:80', '*:443'] to listen to both http and https and therefore default['apache']['default_modules'] is extended with ['ssl'] so mod_ssl module is activated by default.