Hi all,

I am trying to understand how does hiera puppet backend work, so I created the 
following example:

hiera.yaml has only:
---
:backends:
    - puppet

---

And the node: 
node 'testnode' {
        $variable = 'kk'
        $thing = hiera ("variable")
        notify { "note: $thing": }
}

I don't want to use the yaml backend for now, just want to grab variables from 
within puppet. But then I run the agent, and it "Could not find data item 
variable in any Hiera data file".

This probably means I am completely lost. I did not put any hierarchy, because 
I don't want to use the yaml backend, and I don't know why else would I need 
it.

Could anyone shed some light on me, please?

Thanks,
Pablo

-- 
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.

Reply via email to