# # Class for a Drupal 8 development website using drupal-composer # class nodo::role::dev::drupal8::composer inherits nodo::role::dev::drupal8::base ( $project = 'drupal', $project_folder = '/srv/shared', # '/vagrant', '/srv/kvmx' $project_user = 'user', # 'vagrant' $db_name = 'drupal', $db_password = 'hackme', ) { # Do not use this password on production machines database::instance { $db_name: password => $db_password, } apache::site { "${project}": ensure => present, docroot => "${project_folder}/web" server_alias => "localhost ${project} ${project}.localhost ${project}.local", mpm_user => $project_user, mpm_group => $project_user, manage_user => false, manage_docroot => false, custom_directives => " Options Indexes Includes FollowSymLinks MultiViews AllowOverride All Require all granted ", } }