Stuart Cracraft
2013-Aug-16 00:35 UTC
[Puppet Users] Fwd: [pe-users] trouble installing open source puppet client
Redirected - need help. Please review and give me your collective thoughts.
Encountering headwinds when trying to install Open Source Puppet *client*.
The Puppet master and its client work fine and I don''t see a lot of
differences to dig into.
If you need more information than what I give in the logs and comments below,
please
let me know.
Begin forwarded message:
From: Stuart Cracraft <smcracraft@me.com>
Date: August 15, 2013 5:27:58 PM
To: "pe-users@puppetlabs.com" <pe-users@puppetlabs.com>
Subject: [pe-users] trouble installing open source puppet client
Trouble installing the client with
yum install puppet
Getting an error with a dependency by rubygem-json on rubygems.
Forbidden when trying to do a general rubygems update.
gem list shows rake (10.1.0) and rubygems-update (2.0.6) as installed but
gem update --system gives the above forbidden error. Proxy is open for
this box for:
*.puppetlabs.com
gems.rubyforge.org
*.rubygems.org
have tried http_proxy and HTTP_PROXY set to both the proxy''s ip with
8080
"some-ip:8080" and as http://some-ip:8080
curl -x proxyserverip:8080 http://puppetlabs.com and
curl -x proxyserverip:8080
Stuart
Log:
[root@ca-sna-bb01 rubygems-2.0.6]# yum install puppet
Loaded plugins: product-id, rhnplugin, security, subscription-manager
This system is not registered to Red Hat Subscription Management. You can use
subscription-manager to register.
This system is receiving updates from RHN Classic or RHN Satellite.
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package puppet.noarch 0:3.2.4-1.el6 will be installed
--> Processing Dependency: facter >= 1.6.11 for package:
puppet-3.2.4-1.el6.noarch
--> Processing Dependency: hiera >= 1.0.0 for package:
puppet-3.2.4-1.el6.noarch
--> Processing Dependency: ruby(selinux) for package:
puppet-3.2.4-1.el6.noarch
--> Running transaction check
---> Package facter.i386 1:1.7.2-1.el6 will be installed
---> Package hiera.noarch 0:1.2.1-1.el6 will be installed
--> Processing Dependency: rubygem-json for package: hiera-1.2.1-1.el6.noarch
---> Package libselinux-ruby.x86_64 0:2.0.94-5.3.el6_4.1 will be installed
--> Running transaction check
---> Package rubygem-json.x86_64 0:1.5.5-1.el6 will be installed
--> Processing Dependency: rubygems for package:
rubygem-json-1.5.5-1.el6.x86_64
--> Finished Dependency Resolution
Error: Package: rubygem-json-1.5.5-1.el6.x86_64 (puppetlabs-deps)
Requires: rubygems
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
[root@ca-sna-bb01 rubygems-2.0.6]# gem update --system
ERROR: While executing gem ... (Net::HTTPServerException)
403 "Forbidden"
[root@ca-sna-bb01 rubygems-2.0.6]# echo $http_proxy
http://some-ip-here(1.2.3.4,etc.):8080
[root@ca-sna-bb01 rubygems-2.0.6]# echo $HTTP_PROXY
[root@ca-sna-bb01 rubygems-2.0.6]# ruby setup.rb
RubyGems 2.0.6 installed
Installing ri documentation for rubygems-2.0.6
/usr/lib/ruby/1.8/rdoc/rdoc.rb:280: warning: conflicting chdir during another
chdir block
/usr/lib/ruby/1.8/rdoc/rdoc.rb:287: warning: conflicting chdir during another
chdir block
:
:
:
------------------------------------------------------------------------------
RubyGems installed the following executables:
/usr/bin/gem
Ruby Interactive (ri) documentation was installed. ri is kind of like man
pages for ruby libraries. You may access it like this:
ri Classname
ri Classname.class_method
ri Classname#instance_method
If you do not wish to install this documentation in the future, use the
--no-document flag, or set it as the default in your ~/.gemrc file. See
''gem help env'' for details.
[root@ca-sna-bb01 rubygems-2.0.6]#
--
You received this message because you are subscribed to the Google Groups
"Puppet Enterprise Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to pe-users+unsubscribe@puppetlabs.com.
Visit this group at http://groups.google.com/a/puppetlabs.com/group/pe-users/.
--
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+unsubscribe@googlegroups.com.
To post to this group, send email to puppet-users@googlegroups.com.
Visit this group at http://groups.google.com/group/puppet-users.
For more options, visit https://groups.google.com/groups/opt_out.
Ellison Marks
2013-Aug-16 16:28 UTC
[Puppet Users] Re: [pe-users] trouble installing open source puppet client
Generally yum will want all dependencies managed by itself, no? So even if you get it installed with gem, yum won''t call the dependency satisfied... On Thursday, August 15, 2013 5:35:24 PM UTC-7, Stuart Cracraft wrote:> > Redirected - need help. Please review and give me your collective thoughts. > Encountering headwinds when trying to install Open Source Puppet *client*. > The Puppet master and its client work fine and I don''t see a lot of > differences to dig into. > If you need more information than what I give in the logs and comments > below, please > let me know. > > > Begin forwarded message: > > *From: *Stuart Cracraft <smcra...@me.com <javascript:>> > *Date: *August 15, 2013 5:27:58 PM > *To: *"pe-u...@puppetlabs.com <javascript:>" <pe-u...@puppetlabs.com<javascript:> > > > *Subject: **[pe-users] trouble installing open source puppet client* > > > Trouble installing the client with > > yum install puppet > > > Getting an error with a dependency by rubygem-json on rubygems. > > Forbidden when trying to do a general rubygems update. > > > > gem list shows rake (10.1.0) and rubygems-update (2.0.6) as installed but > > gem update --system gives the above forbidden error. Proxy is open for > > this box for: > > > > *.puppetlabs.com > > gems.rubyforge.org > > *.rubygems.org > > > > have tried http_proxy and HTTP_PROXY set to both the proxy''s ip with 8080 > > "some-ip:8080" and as http://some-ip:8080 > > curl -x proxyserverip:8080 http://puppetlabs.com and > > curl -x proxyserverip:8080 > > Stuart > > > Log: > > [root@ca-sna-bb01 rubygems-2.0.6]# yum install puppet > > Loaded plugins: product-id, rhnplugin, security, subscription-manager > > This system is not registered to Red Hat Subscription Management. You can > use subscription-manager to register. > > This system is receiving updates from RHN Classic or RHN Satellite. > > Setting up Install Process > > Resolving Dependencies > > --> Running transaction check > > ---> Package puppet.noarch 0:3.2.4-1.el6 will be installed > > --> Processing Dependency: facter >= 1.6.11 for package: > puppet-3.2.4-1.el6.noarch > > --> Processing Dependency: hiera >= 1.0.0 for package: > puppet-3.2.4-1.el6.noarch > > --> Processing Dependency: ruby(selinux) for package: > puppet-3.2.4-1.el6.noarch > > --> Running transaction check > > ---> Package facter.i386 1:1.7.2-1.el6 will be installed > > ---> Package hiera.noarch 0:1.2.1-1.el6 will be installed > > --> Processing Dependency: rubygem-json for package: > hiera-1.2.1-1.el6.noarch > > ---> Package libselinux-ruby.x86_64 0:2.0.94-5.3.el6_4.1 will be installed > > --> Running transaction check > > ---> Package rubygem-json.x86_64 0:1.5.5-1.el6 will be installed > > --> Processing Dependency: rubygems for package: > rubygem-json-1.5.5-1.el6.x86_64 > > --> Finished Dependency Resolution > > Error: Package: rubygem-json-1.5.5-1.el6.x86_64 (puppetlabs-deps) > > Requires: rubygems > > You could try using --skip-broken to work around the problem > > You could try running: rpm -Va --nofiles --nodigest > > [root@ca-sna-bb01 rubygems-2.0.6]# gem update --system > > ERROR: While executing gem ... (Net::HTTPServerException) > > 403 "Forbidden" > > [root@ca-sna-bb01 rubygems-2.0.6]# echo $http_proxy > > http://some-ip-here(1.2.3.4,etc.):8080 > > [root@ca-sna-bb01 rubygems-2.0.6]# echo $HTTP_PROXY > > > > [root@ca-sna-bb01 rubygems-2.0.6]# ruby setup.rb > > RubyGems 2.0.6 installed > > Installing ri documentation for rubygems-2.0.6 > > /usr/lib/ruby/1.8/rdoc/rdoc.rb:280: warning: conflicting chdir during > another chdir block > > /usr/lib/ruby/1.8/rdoc/rdoc.rb:287: warning: conflicting chdir during > another chdir block > > : > > : > > : > > > ------------------------------------------------------------------------------ > > > > RubyGems installed the following executables: > > /usr/bin/gem > > > > Ruby Interactive (ri) documentation was installed. ri is kind of like man > > pages for ruby libraries. You may access it like this: > > ri Classname > > ri Classname.class_method > > ri Classname#instance_method > > If you do not wish to install this documentation in the future, use the > > --no-document flag, or set it as the default in your ~/.gemrc file. See > > ''gem help env'' for details. > > > > [root@ca-sna-bb01 rubygems-2.0.6]# > > > > > > -- > You received this message because you are subscribed to the Google Groups > "Puppet Enterprise Users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to pe-users+u...@puppetlabs.com <javascript:>. > Visit this group at > http://groups.google.com/a/puppetlabs.com/group/pe-users/. > >-- 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+unsubscribe@googlegroups.com. To post to this group, send email to puppet-users@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-users. For more options, visit https://groups.google.com/groups/opt_out.
Rahul Khengare
2013-Aug-22 07:20 UTC
[Puppet Users] Re: [pe-users] trouble installing open source puppet client
Hi Stuart, I think you have to downgrade your rubygems version- 2.0.6 and try to install puppet this might work. Refer Following link for supported version of ruby, http://docs.puppetlabs.com/guides/platforms.html#ruby-versions Thanks and Regards, Rahul Khengare, NTT DATA OSS-Center, Pune, India. On Friday, August 16, 2013 6:05:24 AM UTC+5:30, Stuart Cracraft wrote:> > Redirected - need help. Please review and give me your collective thoughts. > Encountering headwinds when trying to install Open Source Puppet *client*. > The Puppet master and its client work fine and I don''t see a lot of > differences to dig into. > If you need more information than what I give in the logs and comments > below, please > let me know. > > > Begin forwarded message: > > *From: *Stuart Cracraft <smcra...@me.com <javascript:>> > *Date: *August 15, 2013 5:27:58 PM > *To: *"pe-u...@puppetlabs.com <javascript:>" <pe-u...@puppetlabs.com<javascript:> > > > *Subject: **[pe-users] trouble installing open source puppet client* > > > Trouble installing the client with > > yum install puppet > > > Getting an error with a dependency by rubygem-json on rubygems. > > Forbidden when trying to do a general rubygems update. > > > > gem list shows rake (10.1.0) and rubygems-update (2.0.6) as installed but > > gem update --system gives the above forbidden error. Proxy is open for > > this box for: > > > > *.puppetlabs.com > > gems.rubyforge.org > > *.rubygems.org > > > > have tried http_proxy and HTTP_PROXY set to both the proxy''s ip with 8080 > > "some-ip:8080" and as http://some-ip:8080 > > curl -x proxyserverip:8080 http://puppetlabs.com and > > curl -x proxyserverip:8080 > > Stuart > > > Log: > > [root@ca-sna-bb01 rubygems-2.0.6]# yum install puppet > > Loaded plugins: product-id, rhnplugin, security, subscription-manager > > This system is not registered to Red Hat Subscription Management. You can > use subscription-manager to register. > > This system is receiving updates from RHN Classic or RHN Satellite. > > Setting up Install Process > > Resolving Dependencies > > --> Running transaction check > > ---> Package puppet.noarch 0:3.2.4-1.el6 will be installed > > --> Processing Dependency: facter >= 1.6.11 for package: > puppet-3.2.4-1.el6.noarch > > --> Processing Dependency: hiera >= 1.0.0 for package: > puppet-3.2.4-1.el6.noarch > > --> Processing Dependency: ruby(selinux) for package: > puppet-3.2.4-1.el6.noarch > > --> Running transaction check > > ---> Package facter.i386 1:1.7.2-1.el6 will be installed > > ---> Package hiera.noarch 0:1.2.1-1.el6 will be installed > > --> Processing Dependency: rubygem-json for package: > hiera-1.2.1-1.el6.noarch > > ---> Package libselinux-ruby.x86_64 0:2.0.94-5.3.el6_4.1 will be installed > > --> Running transaction check > > ---> Package rubygem-json.x86_64 0:1.5.5-1.el6 will be installed > > --> Processing Dependency: rubygems for package: > rubygem-json-1.5.5-1.el6.x86_64 > > --> Finished Dependency Resolution > > Error: Package: rubygem-json-1.5.5-1.el6.x86_64 (puppetlabs-deps) > > Requires: rubygems > > You could try using --skip-broken to work around the problem > > You could try running: rpm -Va --nofiles --nodigest > > [root@ca-sna-bb01 rubygems-2.0.6]# gem update --system > > ERROR: While executing gem ... (Net::HTTPServerException) > > 403 "Forbidden" > > [root@ca-sna-bb01 rubygems-2.0.6]# echo $http_proxy > > http://some-ip-here(1.2.3.4,etc.):8080 > > [root@ca-sna-bb01 rubygems-2.0.6]# echo $HTTP_PROXY > > > > [root@ca-sna-bb01 rubygems-2.0.6]# ruby setup.rb > > RubyGems 2.0.6 installed > > Installing ri documentation for rubygems-2.0.6 > > /usr/lib/ruby/1.8/rdoc/rdoc.rb:280: warning: conflicting chdir during > another chdir block > > /usr/lib/ruby/1.8/rdoc/rdoc.rb:287: warning: conflicting chdir during > another chdir block > > : > > : > > : > > > ------------------------------------------------------------------------------ > > > > RubyGems installed the following executables: > > /usr/bin/gem > > > > Ruby Interactive (ri) documentation was installed. ri is kind of like man > > pages for ruby libraries. You may access it like this: > > ri Classname > > ri Classname.class_method > > ri Classname#instance_method > > If you do not wish to install this documentation in the future, use the > > --no-document flag, or set it as the default in your ~/.gemrc file. See > > ''gem help env'' for details. > > > > [root@ca-sna-bb01 rubygems-2.0.6]# > > > > > > -- > You received this message because you are subscribed to the Google Groups > "Puppet Enterprise Users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to pe-users+u...@puppetlabs.com <javascript:>. > Visit this group at > http://groups.google.com/a/puppetlabs.com/group/pe-users/. > >-- 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+unsubscribe@googlegroups.com. To post to this group, send email to puppet-users@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-users. For more options, visit https://groups.google.com/groups/opt_out.