puppet 6 facter -p Thread.exclusive is deprecated, use Thread::Mutex

14 views
Skip to first unread message

Andreas Dvorak

unread,
Apr 5, 2019, 6:45:14 AM4/5/19
to Puppet Users
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

Josh Cooper

unread,
Apr 5, 2019, 4:54:04 PM4/5/19
to puppet...@googlegroups.com
--
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...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/038d99f1-8562-40c3-b993-548374913995%40googlegroups.com.
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

Andreas Dvorak

unread,
Apr 9, 2019, 1:49:15 PM4/9/19
to Puppet Users
Great thank you.
Years ago we created the fact.


Am Freitag, 5. April 2019 18:54:04 UTC+2 schrieb Josh Cooper:

To unsubscribe from this group and stop receiving emails from it, send an email to puppet...@googlegroups.com.
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
Reply all
Reply to author
Forward
0 new messages