Plugin | create_drupal_settings_file_resources_hash |
In: |
/vagrant/modules/undine/lib/puppet/parser/functions/create_drupal_settings_file_resources_hash.rb
|
A helper function used by Undine to format a given set of databases, files and settings hashes in undine::drupal_site to be compatible with Puppet‘s create_resources() function. Most notably, it declares the databases based on the configuration passed through the original databases array, and sets the variables for public, private and temporary files directories to be consistent with the paths provided in the files array.
Returns a hash representing the drupal_settings_file resource to be managed.