$project = 'drupal',
$project_folder = '/srv/kvmx', # '/vagrant'
$project_user = 'user', # 'vagrant'
+ $db_name = 'drupal',
+ $db_password = 'hackme',
) {
include nodo::role::dev::virtual
include apache
notify => Service['apache2'],
}
- $default_db = hiera('websites::default_db', 'drupal')
- $default_db_password = hiera('websites::default_db::password', 'hackme')
-
# Do not use this password on production machines
- database::instance { $default_db:
- password => $default_db_password,
+ database::instance { $db_name:
+ password => $db_password,
}
# We could simply using one symlink, but it might incur in