Hey!! Did you ever get anywhere with this? If so, I'd love to bounce a couple of things off of you. The lack of documentation for ParsedFile is annoying . . .
thanks, Guy On Thu, Aug 4, 2011 at 9:35 PM, windowsrefund <windowsref...@gmail.com>wrote: > All, > > I'm working on a provider which uses ParsedFile and am running into an > issue when I use anything more complicated than > > record_line :parsed, :fields => %w{name} > > If I try to use (for example) :fields => %w{foo, bar, baz}, my content > ends up in my target file but every run adds another line. I've been > attempting to figure out what is needed by studying the host type's > provider but could use some help. I tend to think the answer lies > somewhere in :match and/or :to_line but I'm not sure what these do. > > Any help would greatly appreciated. > > Best, > Adam > > -- > You received this message because you are subscribed to the Google Groups > "Puppet Users" group. > To post to this group, send email to puppet-users@googlegroups.com. > To unsubscribe from this group, send email to > puppet-users+unsubscr...@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/puppet-users?hl=en. > > -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.