diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2017-11-08 08:39:25 -0200 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2017-11-08 08:39:25 -0200 |
commit | 745976b62b30bed1aafc5bd0e9aff93a276c9e4c (patch) | |
tree | 2504eb1997b77943f20bc33dae2659dffa1cb120 /manifests/role | |
parent | 2ddb029f74b6ece6309cc6c3a61266ac2781dddb (diff) | |
download | puppet-nodo-745976b62b30bed1aafc5bd0e9aff93a276c9e4c.tar.gz puppet-nodo-745976b62b30bed1aafc5bd0e9aff93a276c9e4c.tar.bz2 |
Adds db_name and db_password params into nodo::role::dev::drupal8
Diffstat (limited to 'manifests/role')
-rw-r--r-- | manifests/role/dev/drupal8.pp | 9 |
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 |