On Thu, Apr 4, 2019 at 11:45 PM Andreas Dvorak <[email protected]> wrote:
> Hi, > > I have installed a new server with puppet 6. > > I get these errors with facter. Can somebody please help me? > > facter -v > 3.13.1 (commit 4e1df48f76caa0eaeee90af4239a1df450d45cd7) > > > facter -p osmajorrelease > Thread.exclusive is deprecated, use Thread::Mutex > /opt/puppetlabs/puppet/cache/lib/facter/meminbytes.rb:20:in > `meminfo_number' > /opt/puppetlabs/puppet/cache/lib/facter/meminbytes.rb:13:in `block (3 > levels) in <top (required)>' > Thread.exclusive is deprecated, use Thread::Mutex > /opt/puppetlabs/puppet/cache/lib/facter/meminbytes.rb:20:in > `meminfo_number' > /opt/puppetlabs/puppet/cache/lib/facter/meminbytes.rb:13:in `block (3 > levels) in <top (required)>' > Thread.exclusive is deprecated, use Thread::Mutex > /opt/puppetlabs/puppet/cache/lib/facter/meminbytes.rb:20:in > `meminfo_number' > /opt/puppetlabs/puppet/cache/lib/facter/meminbytes.rb:13:in `block (3 > levels) in <top (required)>' > Thread.exclusive is deprecated, use Thread::Mutex > /opt/puppetlabs/puppet/cache/lib/facter/meminbytes.rb:20:in > `meminfo_number' > /opt/puppetlabs/puppet/cache/lib/facter/meminbytes.rb:13:in `block (3 > levels) in <top (required)>' > 7 > > puppet-agent-6.4.0-1.el7.x86_64 > puppetserver-6.3.0-1.el7.noarch > puppet6-release-6.0.0-1.el7.noarch > > Regards > Andreas > -- > 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 [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/puppet-users/038d99f1-8562-40c3-b993-548374913995%40googlegroups.com > <https://groups.google.com/d/msgid/puppet-users/038d99f1-8562-40c3-b993-548374913995%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > The "meminbytes" fact is coming from a module and downloaded to the agent. The Thread.exclusive call is not needed, and likely occurred when copy/pasting from an old core fact in the Ruby facter implementation. We removed that from core Ruby in https://github.com/puppetlabs/facter/commit/159d3a682f141a5183c933be5ef2cf763f59bb6c#diff-5ac9627bb8707b6cf7eb398ec448edb2 Josh -- Josh Cooper | Software Engineer [email protected] | @coopjn -- 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/CA%2Bu97ukR0ou7cVY31jYMvx-cAB1x-HCTdAWCXfo3avo4Dh0gwA%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
