On Tuesday, August 12, 2014 1:57:14 AM UTC-5, Vikas Kumar wrote: > > Hello, > > I am looking for an option to add multiple lines to a */etc/bashrc* and > */etc/profile*. I can do this with *file_line*, but is there any other > alternative. *file_line* does the job but for each line I will have to > create a *file_line* resource, which does not sound good for multiple > lines. > > Regards, > Vikas >
Vikas, Maybe try using concat module (https://github.com/puppetlabs/puppetlabs-concat)? But i think you'll still have multiple concat::fragment entries. Sijis -- 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/72ec07d4-2f78-4889-94d4-938d331d324c%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.