I working with a dynamic config file template, I have a section for global
options, then a dynamic section that i want to populate with multiple
defined entries.
example config file
#global options
config_option1=setting1
config_option2=setting2
config_option3=setting3
...
#dynamic section
entry=dynamic entry number 1
option1=setting1
option2=setting2
option3=setting3
entry=dynamic entry number 2
option1=setting1
option2=setting2
option3=setting3
....
Is there a way i can dynamically create these entries in a single template?
for instance a defined type:
define application::configs (
$entry,
$option1
$option2
$option3
) {
#not sure what I would put here
}
Then pull those entries into the .erb with some kind of function? Is this
even possible to do?
--
You received this message because you are subscribed to the Google Groups
"Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/puppet-users/f07f47ca-11b8-4c4f-bd5a-d06ab06dd0d1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.