Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
DescriptionMichael Watters
2017-04-19 17:11:20 UTC
Description of problem:
The puppet package provided in Fedora 26 does not work properly due to multiple issues. After installing the puppet package running the agent results in an error as follows.
[root@mdct-dev27-f26 ~]# puppet agent -t --environment f26_test
/usr/share/ruby/vendor_ruby/puppet/util/monkey_patches.rb:104:in `<class:SSLContext>': undefined method `<<' for nil:NilClass (NoMethodError)
Deleting line 104 in the /usr/share/ruby/vendor_ruby/puppet/util/monkey_patches.rb file does allow the agent to run however another error is then given.
Error: Could not autoload puppet/provider/package/pip3: cannot load such file -- xmlrpc/client
Error: Could not retrieve local facts: Could not autoload puppet/provider/package/pip3: cannot load such file -- xmlrpc/client
Error: Failed to apply catalog: Could not retrieve local facts: Could not autoload puppet/provider/package/pip3: cannot load such file -- xmlrpc/client
This is due to an incorrect dependency on the xmlrpc/client library which is no longer included in ruby 2.4.
github.com/puppetlabs/puppet/commit/484623ed