Actually if I remove the backslash the result is instead marcstest1.password='CheckingThis'
and if I shift the backslash to after the colon I get marcstest1.password='Checking:\ This' On Friday, 4 July 2014 14:28:09 UTC-4, Rich Burroughs wrote: > > Hi Marc, > > Have you tried removing that backslash? I don't think you need to escape > the colon. > > > Rich > > On Friday, July 4, 2014, Marc Whittaker <marcwh...@gmail.com <javascript:>> > wrote: > >> Hi Everyone, >> >> I have run into an issue using puppet with hiera. The situation is I have >> the following in a yaml file >> >> - marcstest1.password='Checking\: This' >> >> When I try to fill this into a file using a template similar to below >> this is what gets put into the file instead >> >> # General Settings >> <% props.each do |prop| -%> >> <%= prop %> >> <% end -%> >> >> marcstest1.password='Checking\This' >> >> when the expected result is marcstest1.password='Checking: This' >> >> Can anyone tell me what I am doing wrong? >> >> -- >> 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/b08b25d5-621f-467c-96a2-92a2cf9231e2%40googlegroups.com >> >> <https://groups.google.com/d/msgid/puppet-users/b08b25d5-621f-467c-96a2-92a2cf9231e2%40googlegroups.com?utm_medium=email&utm_source=footer> >> . >> For more options, visit https://groups.google.com/d/optout. >> > -- 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/fddcac35-1bc7-474d-b892-8450e2201e6d%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.