aboutsummaryrefslogtreecommitdiff
path: root/manifests/role
diff options
context:
space:
mode:
Diffstat (limited to 'manifests/role')
-rw-r--r--manifests/role/dev/drupal8.pp9
1 files changed, 4 insertions, 5 deletions
diff --git a/manifests/role/dev/drupal8.pp b/manifests/role/dev/drupal8.pp
index a83365f..d135c8e 100644
--- a/manifests/role/dev/drupal8.pp
+++ b/manifests/role/dev/drupal8.pp
@@ -5,6 +5,8 @@ class nodo::role::dev::drupal8(
$project = 'drupal',
$project_folder = '/srv/kvmx', # '/vagrant'
$project_user = 'user', # 'vagrant'
+ $db_name = 'drupal',
+ $db_password = 'hackme',
) {
include nodo::role::dev::virtual
include apache
@@ -38,12 +40,9 @@ class nodo::role::dev::drupal8(
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