Plugin | create_drupal_files_dir_resources_hash |
In: |
/vagrant/modules/undine/lib/puppet/parser/functions/create_drupal_files_dir_resources_hash.rb
|
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.
Returns a hash representing the drupal_files_dir resources to be managed.