[Puppet Users] Unknown function hiera

2012-04-04 Thread Andreas Paul
Hi there, for some reason I can't use hiera functions in my manifests. Here are the relevant config files: cat /etc/puppet/hiera.yaml :hierarchy: - %{environment} - common :backends: - yaml - puppet :yaml: :datadir: '/etc/puppet/environments/%{environment}/hieradata' :puppet:

Re: [Puppet Users] Unknown function hiera

2012-04-04 Thread Martin Willemsma
Hi Andreas, In my believe that message is from your puppetmaster unable to compile the manifest because the hiera function is not present on the master. If you install hiera gem, the functions are not copied to your puppet functions dir. I would recommend checking your gem path on the puppetmaste

Re: [Puppet Users] Unknown function hiera

2012-04-04 Thread Nan Liu
On Wed, Apr 4, 2012 at 9:10 AM, Martin Willemsma wrote: > Hi Andreas, > > In my believe that message is from your puppetmaster unable to compile > the manifest because the hiera function is not present on the master. > If you install hiera gem, the functions are not copied to your puppet > functio

Re: [Puppet Users] Unknown function hiera

2012-04-04 Thread Patrick Debois
FWIW I've submitted this patch today to: - include the gem inside the manifest - load the correct loadpaths - enable relocatable hiera_configdir and hiera_yaml_datasource https://github.com/puppetlabs/hiera-puppet/pull/20 This makes it much easier to have things configured until all the hiera