[Puppet Users] Re: Hiera tool and hiera-puppet returns different data

2012-12-02 Thread Vaidas Jablonskis
Adding my hiera.yaml content: # cat /etc/puppet/hiera.yaml --- :hierarchy: - %{environment}/nodes/%{fqdn} - %{environment}/roles/%{role} - %{environment}/common :backends: - yaml #- puppet :yaml: :datadir: '/etc/puppet/hieradata' :puppet: :datasource: 'data' -- You received thi

[Puppet Users] Re: Hiera tool and hiera-puppet returns different data

2012-12-02 Thread Vaidas Jablonskis
Opened up an issue report: http://projects.puppetlabs.com/issues/17896 -- 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/-/a96yvzSdAWYJ. To post to this group,

[Puppet Users] Re: Hiera tool and hiera-puppet returns different data

2012-12-02 Thread Vaidas Jablonskis
See my issue report, I updated it with my finding. It seems to be a bug. -- 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/-/QHF75o_kCMIJ. To post to this group

[Puppet Users] Re: Hiera tool and hiera-puppet returns different data

2012-12-02 Thread Vaidas Jablonskis
wrong. Thanks to reidmv and Volcane from #puppet @freenode for explaining this to me. There is no easy way to use hiera_hash() or hiera_array() using the built-on hiera() lookup. The easiest workaround in my case is to do something like this: # class class foo( $configuration = hiera_arra

[Puppet Users] Re: Hiera tool and hiera-puppet returns different data

2012-12-03 Thread jcbollinger
On Sunday, December 2, 2012 4:19:24 PM UTC-6, Vaidas Jablonskis wrote: > > wrong. > > Thanks to reidmv and Volcane from #puppet @freenode for explaining this to > me. > > There is no easy way to use hiera_hash() or hiera_array() using the > built-on hiera() lookup. > > The easiest workaround in