Hi, Here is my dilemma, have a class that installs an rpm then copies over the configuration files. Static files are published as files, variable files are published using templates with variables provided from foreman smart variable. The binaries being installed can be used to create multiple instances of the same application based on a session id. So if you put in three instances in the config file it will launch three instances, so it would look like this :-
LAUNCH_STRING.Component1="Blah" PROCESS_FOOTPRINT.Component1-"Blah" LAUNCH_STRING.Component2="Blah" PROCESS_FOOTPRINT.Component2-"Blah" LAUNCH_STRING.Component3="Blah" PROCESS_FOOTPRINT.Component3-"Blah" The problem is how can I recursively add these to the template file from an integer variable based on the number of sessions required. I remember seeing you could do this but now I have gone back to find it all my "googling" turns up how to recursively copy directories over. I hope that explanation is clear enough. Thanks, Richie. -- 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 puppet-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/73498c38-3f7f-4c31-8707-13cd38e7f17d%40googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.