On Thu, Nov 3, 2016 at 2:52 AM, Jonathan Gazeley <
jonathan.gaze...@bristol.ac.uk> wrote:

> Hi folks,
>
> I've been running open-source Puppet 3.x for years but this week I'm
> dabbling with a new installation of PE 2016.4. I installed from the
> pointy-clicky installer and so far the PE server only has itself in the
> inventory, but is failing to do a puppet run. It bails with this error:
>
> Could not retrieve catalog from remote server: Error 500 on SERVER: Server
> Error: Evaluation Error: Error while evaluating a Resource Statement,
> Evaluation Error: Error while evaluating a Method call, 'dig' parameter
> 'data' expects a Collection value, got String at
> /opt/puppetlabs/puppet/modules/puppet_enterprise/manifests/master/puppetserver.pp:673:42
> on node puppet4-prod.resnet.bris.ac.uk
>
> I think that manifest is something that came with PE and not something
> I've installed, so I've no idea where to start. Any ideas?
>

Looking at that line in the puppet configuration it seems that we're
digging into the mountpoints:

$tmp_mount_options = $::mountpoints.dig( '/tmp', 'options' )


Dig expects to be called on a collection[1], and reading the error I would
assume that the fact `mountpoints` is returning a string or that the "/tmp"
key within the fact is returning a string. Which is not how Facter should
be behaving[2].

Have you changed anything relating to Facter or its configuration?


 - Justin


1. https://docs.puppet.com/puppet/4.8/reference/function.html#dig
2. https://docs.puppet.com/facter/latest/core_facts.html#mountpoints

>
> Thanks,
> Jonathan
>
> --
> Jonathan Gazeley
> Senior Systems Administrator
> IT Services
> University of Bristol
>
> --
> 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/ms
> gid/puppet-users/a6b299e2-7ff0-edaa-6f38-4747bb64d758%40bristol.ac.uk.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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/CA%2B%3DBEqU%3D1rQq%2Bws%3DjpybcxJWWfeKsu-WKJXx%2BSpnr_ebhuCE2Q%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to