You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I will soon create a new branch, where I have moved away from file concat based on erb template. The new module will be based on Puppet Hashes, merge them together and then I'm reusing this template to make a structured and sorted yaml representation out of the hash.
I will keep the same structure in the module, but I'm just not a big fan of file concatenation and erb templating. Hope you will give it a go when it's ready
The text was updated successfully, but these errors were encountered:
$shipper_data_template is a example of creating a default hash if you want some default values for pieces of your config file. The rest of the magic is provided by hash merge and <%= @filebeat_conf.to_yaml %>
This makes is really simple and remove a lot of pain regarding erb templates(spaces, newlines). Furthermore it allows us to handle changes in the Beat product, without the need to update .pp and .erb files.
I would like some feedback before I will rework the rest of the module.
Hi,
I will soon create a new branch, where I have moved away from file concat based on erb template. The new module will be based on Puppet Hashes, merge them together and then I'm reusing this template to make a structured and sorted yaml representation out of the hash.
I will keep the same structure in the module, but I'm just not a big fan of file concatenation and erb templating. Hope you will give it a go when it's ready
The text was updated successfully, but these errors were encountered: