Plugin create_drupal_db_resources_hash
In: /vagrant/modules/undine/lib/puppet/parser/functions/create_drupal_db_resources_hash.rb

Function: create_drupal_db_resources_hash

A helper function used by Undine to format a given $databases array in undine::drupal_site to be compatible with Puppet‘s create_resources() function.

Parameters

databases
The full databases hash provided to undine::drupal_site.
site_name
The name of the undine::drupal_site resource. This is used to distinguish database keys of the same name across different sites.

Returns

Returns a hash representing the drupal_db resources to be managed.

Type

function

[Validate]