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

Function: create_drupal_files_dir_resources_hash

A helper function used by Undine to format a given $files array in undine::drupal_site to be compatible with Puppet‘s create_resources() function. Most notably, it replaces the labels "public" and "private" with the paths of the resources to manage.

Parameters

files
The full files hash provided to undine::drupal_site.

Returns

Returns a hash representing the drupal_files_dir resources to be managed.

Type

function

[Validate]