On 14.3.2012 18:50, psychobyte wrote:
> I'm trying to use standard hiera on puppet (gentoo).  I simply did
>
> # gem install hiera
>
> Then setup /etc/hiera.yaml
>
> When i call the hiera() function in puppet i get
>
> "Error 400 on SERVER: Unknown function hiera at /data/puppe/manifests/
> site.pp:27"
>
> Is there a step that I'm missing?

Yes. Copy the puppet function to puppets libdir.
It is mentioned in the README
https://github.com/puppetlabs/hiera-puppet

-- 
Kind Regards, Markus Falb

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to