On Thursday, September 10, 2015 at 12:14:49 PM UTC-5, Andrew Hibbert wrote:
>
> Hi,
>
> I have an ENC script and also want to use hiera
>
>

There is no inherent problem with this.

 

> My ENC script returns
>
> parameters:
>    location: loc1
>    purpose: hieratest
>    fqdn: hostname
>    os: CentOS-6.3
>    product: theproduct
>    site: lab
>    environment: Production
>    status: Maintenance
>    timezone: Europe/London
>    is_virtual: yes
> environment: env1
>
> When I run this with hiera-1.2.1-1 installed - this is fine
>
> However when I run this with a more recent hiera (1.3.0-1) I get the 
> following:-
>
> Wrapped exception:
> Detected in [location, site, purpose]
> Error: Detected in [location, site, purpose] at 
> /etc/puppet/manifests/site.pp:1 on node hieratest.hiera
>
>

You seem to be asserting that the error occurs in your ENC.  That's 
plausible, but do you have more reason to believe that than the reported 
location of the error (site.pp:1)?

What's on line 1 of the relevant site.pp, anyway?

Does your ENC use HIera?  if not, what reason do you have to associate the 
two?
 

John

-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/39519c4d-452a-4219-a741-09568075e43f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to