Found out that a CSV file with value like alex,"line1 line2"
will do the trick, but alex,"line1 line2 \"line3" will not work and alex,"line1 line2 ""line3" will work On Mar 1, 4:58 pm, Alexandre <alexandre.fou...@gmail.com> wrote: > Is there a way to be able to externalize multi-line variable (eg to > contain pem keys, etc...), to be used like > > file { "/tmp/alex": > content => $::alex # In dashboard: alex = line1\nline2 > } > file { "/tmp/alex2": > content => extlookup('alex') # alex,line1\nline2 > } > > I tried to set a variable with line1\nline2 in dashboard and in > extlookup, but both failed to interpret it and wrote it litterally. Is > there another way ? Maybe with Hiera (sadly it is not yet integrated > in the Puppet RPM) -- 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.