On Nov 4, 2016 3:04 AM, "Jonathan Gazeley" <jonathan.gaze...@bristol.ac.uk>
wrote:
>
> Thanks for your response. Output of those commands follows:
>
> [jg4461@puppet4-prod ~]$ facter -p mountpoints
>
/,/dev,/sys/kernel/security,/sys/fs/cgroup/systemd,/sys/fs/pstore,/sys/kernel/config,/sys/fs/selinux,/dev/mqueue,/dev/hugepages,/sys/kernel/debug,/boot
>

This looks like it may be coming from a custom fact that is overriding the
expected built-in.

Could you run 'facter -d -p mountpoints' and see if the output mentions
discovery of a mountpoints.rb or a change in fact value?

Thanks!

> [jg4461@puppet4-prod ~]$ mount
> sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime,seclabel)
> proc on /proc type proc (rw,nosuid,nodev,noexec,relatime)
> devtmpfs on /dev type devtmpfs
(rw,nosuid,seclabel,size=3996484k,nr_inodes=999121,mode=755)
> securityfs on /sys/kernel/security type securityfs
(rw,nosuid,nodev,noexec,relatime)
> tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev,seclabel)
> devpts on /dev/pts type devpts
(rw,nosuid,noexec,relatime,seclabel,gid=5,mode=620,ptmxmode=000)
> tmpfs on /run type tmpfs (rw,nosuid,nodev,seclabel,mode=755)
> tmpfs on /sys/fs/cgroup type tmpfs
(ro,nosuid,nodev,noexec,seclabel,mode=755)
> cgroup on /sys/fs/cgroup/systemd type cgroup
(rw,nosuid,nodev,noexec,relatime,xattr,release_agent=/usr/lib/systemd/systemd-cgroups-agent,name=systemd)
> pstore on /sys/fs/pstore type pstore (rw,nosuid,nodev,noexec,relatime)
> cgroup on /sys/fs/cgroup/blkio type cgroup
(rw,nosuid,nodev,noexec,relatime,blkio)
> cgroup on /sys/fs/cgroup/cpu,cpuacct type cgroup
(rw,nosuid,nodev,noexec,relatime,cpuacct,cpu)
> cgroup on /sys/fs/cgroup/devices type cgroup
(rw,nosuid,nodev,noexec,relatime,devices)
> cgroup on /sys/fs/cgroup/net_cls type cgroup
(rw,nosuid,nodev,noexec,relatime,net_cls)
> cgroup on /sys/fs/cgroup/perf_event type cgroup
(rw,nosuid,nodev,noexec,relatime,perf_event)
> cgroup on /sys/fs/cgroup/freezer type cgroup
(rw,nosuid,nodev,noexec,relatime,freezer)
> cgroup on /sys/fs/cgroup/hugetlb type cgroup
(rw,nosuid,nodev,noexec,relatime,hugetlb)
> cgroup on /sys/fs/cgroup/memory type cgroup
(rw,nosuid,nodev,noexec,relatime,memory)
> cgroup on /sys/fs/cgroup/cpuset type cgroup
(rw,nosuid,nodev,noexec,relatime,cpuset)
> configfs on /sys/kernel/config type configfs (rw,relatime)
> /dev/sda3 on / type ext4 (rw,relatime,seclabel,data=ordered)
> selinuxfs on /sys/fs/selinux type selinuxfs (rw,relatime)
> systemd-1 on /proc/sys/fs/binfmt_misc type autofs
(rw,relatime,fd=34,pgrp=1,timeout=300,minproto=5,maxproto=5,direct)
> mqueue on /dev/mqueue type mqueue (rw,relatime,seclabel)
> hugetlbfs on /dev/hugepages type hugetlbfs (rw,relatime,seclabel)
> debugfs on /sys/kernel/debug type debugfs (rw,relatime)
> /dev/sda1 on /boot type ext4 (rw,relatime,seclabel,data=ordered)
> tmpfs on /run/user/991 type tmpfs
(rw,nosuid,nodev,relatime,seclabel,size=801120k,mode=700,uid=991,gid=460)
> binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc (rw,relatime)
> tmpfs on /run/user/56933 type tmpfs
(rw,nosuid,nodev,relatime,seclabel,size=801120k,mode=700,uid=56933,gid=464)
>
> [jg4461@puppet4-prod ~]$ puppet apply -e 'notify { "${::mountpoints}": };
notify { "${::mountpoints["/"]}": }'
> Error: Evaluation Error: The value '/' cannot be converted to Numeric. at
line 1:59 on node puppet4-prod.resnet.bris.ac.uk
>
> Thanks,
> Jonathan
>
>
> On 03/11/16 17:26, AJ Johnson wrote:
>>
>> Hi Jonathan -
>>
>> Can you run facter -p (interested in what mountpoints is) and `mount`,
>> and paste the output.
>>
>> Also can you run:
>>
>> puppet apply -e 'notify { "${::mountpoints}": }; notify {
>> "${::mountpoints["/"]}": }'
>>
>>
>> Thanks,
>>
>>
>> -aj
>>
>>
>> On Thursday, November 3, 2016 at 2:52:35 AM UTC-7, Jonathan Gazeley
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
>>     <http://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?
>>
>>     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
>> <mailto:puppet-users+unsubscr...@googlegroups.com>.
>>
>> To view this discussion on the web visit
>>
https://groups.google.com/d/msgid/puppet-users/ea15755d-5e67-4333-96f4-870d239287a7%40googlegroups.com
>> <
https://groups.google.com/d/msgid/puppet-users/ea15755d-5e67-4333-96f4-870d239287a7%40googlegroups.com?utm_medium=email&utm_source=footer
>.
>>
>> For more options, visit https://groups.google.com/d/optout.
>
>
>
> --
> 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/msgid/puppet-users/060971bb-91aa-1849-7673-cc79dd82fd4a%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/CACZQQfOpzuNTjgh3qd3CeVZXRKdKiPMVg%3DPBQz__uiLr%2BeK60Q%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to