Hi

I have some hiera yaml that looks like this:

   vars:
      psuName:  xxxxx
      liveCustomers: 100
      notes: some notes here (more info in backets)
      uplink: uplink01

The yaml is autogenerated by a script and it is basically used to help 
build icinga2 config. The problem I have is that the output looks like this 
in the config file:

  vars.psuName = "xxxxx"
  vars.liveCustomers = 100
  vars.notes = some notes here ("more info in backets")
  vars.uplink = "uplink01"

So puppet has put quotes around most fields which is what I want, but on 
the notes field it has put quotes only around the text inside the bracket, 
I want it to look like this:

  vars.notes = "some notes here (more info in backets)"

I have tried changing the hiera yaml to look like this:

      notes: "some notes here (more info in backets)"

but it makes no difference.

Any ideas?

-- 
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/632e6b21-74a5-434a-8430-b331a36e4274%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to