Hi: I work on puppet 3 and hiera, but i cannt load a yaml file on a subdir. my hiera.yaml looks like: --- :backends: - yaml - json :yaml: :datadir: /etc/puppet/hieradata :json: :datadir: /etc/puppet/hieradata :hierarchy: - "servidores/%{clientcert}" - %{::ve} - common :puppet: :datasource: data problem is on "servidores/%{clientcert}". If it is %{::clientcert} and file is on root dir ( /etc/puppet/hieradata), everithing works fine. If i try to use a subdir, no mather what i use, it fails. what i doing wrong ? thanks in advance -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To view this discussion on the web visit https://groups.google.com/d/msg/puppet-users/-/aTk08ZWkkTMJ. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
On 01/14/2013 04:37 PM, Jose Pedro Andres wrote:> problem is on "servidores/%{clientcert}". If it is %{::clientcert} and > file is on root dir ( /etc/puppet/hieradata), everithing works fine. If > i try to use a subdir, no mather what i use, it fails. > > what i doing wrong ?Try without quotes. This works for me: ossec/%{hostname} -- Jakov Sosic www.srce.unizg.hr -- 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+unsubscribe@googlegroups.com. To post to this group, send email to puppet-users@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-users. For more options, visit https://groups.google.com/groups/opt_out.
Reasonably Related Threads
- Hiera and 'clientcert' fact not working :(
- Error: Puppet::Parser::AST::Resource failed with error Hiera::InterpolationLoop: Detected in [::environment]
- hiera yaml namespace nesting
- Hiera, OSSEC and per-node stuff?
- Lookup another node's hiera data - fqdn hierarchy