master - error(s) on fresh installation (EC2)

24 views
Skip to first unread message

JonY

unread,
Nov 13, 2014, 2:00:01 PM11/13/14
to puppet...@googlegroups.com
Installed latest from puppetlabs repro on an EC2 instance.


# puppet master --verbose --no-daemonize
/usr/share/ruby/vendor_ruby/2.0/rubygems/core_ext/kernel_require.rb:55:in `require': cannot load such file -- puppet/util/command_line (LoadError)
        from /usr/share/ruby/vendor_ruby/2.0/rubygems/core_ext/kernel_require.rb:55:in `require'
        from /usr/bin/puppet:7:in `<main>'

What step(s) did I miss?

---
I'm wondering if this is the problem:

# ruby --version
ruby 2.0.0p594 (2014-10-27 revision 48167) [x86_64-linux]

This is the version that AWS installed by default.


JonY

unread,
Nov 13, 2014, 4:37:24 PM11/13/14
to puppet...@googlegroups.com
Indeed. the line in question is 'require 'puppet/util/command_line''. This file gets installed into 

/usr/lib/ruby/site_ruby/1.8/puppet/util/command_line
/usr/lib/ruby/site_ruby/1.8/puppet/util/command_line.rb

so it's not found. I've scrubbed out all traces of ruby from this system and when I reinstall 'puppet-server' it brings down both ruby 1.8 and 2.0. The 'command_line.rb' file is put in 1.8 but the interpreter runs with 2.0.

Felix Frank

unread,
Nov 13, 2014, 5:42:31 PM11/13/14
to puppet...@googlegroups.com
On 11/13/2014 08:00 PM, JonY wrote:
> Installed latest from puppetlabs repro on an EC2 instance.

...running...which platform?

JonY

unread,
Nov 14, 2014, 7:27:04 AM11/14/14
to puppet...@googlegroups.com
AMI? I'm new to this world.

Felix Frank

unread,
Nov 14, 2014, 9:00:48 AM11/14/14
to puppet...@googlegroups.com
Sorry - I wanted to know about the operating system - Ubuntu, CentOS...?

Kylo Ginsberg

unread,
Nov 14, 2014, 9:03:53 AM11/14/14
to puppet...@googlegroups.com
On Fri, Nov 14, 2014 at 4:27 AM, JonY <ethr...@gmail.com> wrote:
AMI? I'm new to this world.

There are AMIs for many different OSs/distros.

What does 'facter operatingsystem' report?

Thanks
Kylo
 


On Thursday, November 13, 2014 2:42:31 PM UTC-8, Felix.Frank wrote:
On 11/13/2014 08:00 PM, JonY wrote:
> Installed latest from puppetlabs repro on an EC2 instance.

...running...which platform?

--
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/fbf34adc-e317-415d-a3aa-01e11957ec57%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.



--
Kylo Ginsberg | ky...@puppetlabs.com | irc: kylo | twitter: @kylog

Join us at PuppetConf 2015, October 5-9 in Portland, OR - http://2015.puppetconf.com.  
Register early to save 40%!

Kylo Ginsberg

unread,
Nov 14, 2014, 12:18:53 PM11/14/14
to puppet...@googlegroups.com
On Fri, Nov 14, 2014 at 6:03 AM, Kylo Ginsberg <ky...@puppetlabs.com> wrote:
On Fri, Nov 14, 2014 at 4:27 AM, JonY <ethr...@gmail.com> wrote:
AMI? I'm new to this world.

There are AMIs for many different OSs/distros.

What does 'facter operatingsystem' report?

Thanks
Kylo
 


On Thursday, November 13, 2014 2:42:31 PM UTC-8, Felix.Frank wrote:
On 11/13/2014 08:00 PM, JonY wrote:
> Installed latest from puppetlabs repro on an EC2 instance.

...running...which platform?

One guess, which I put in https://tickets.puppetlabs.com/browse/PUP-3672 as well, is that this is on Amazon Linux, for which we don't currently have packages.

Kylo 

--
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/fbf34adc-e317-415d-a3aa-01e11957ec57%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.



--
Kylo Ginsberg | ky...@puppetlabs.com | irc: kylo | twitter: @kylog

Join us at PuppetConf 2015, October 5-9 in Portland, OR - http://2015.puppetconf.com.  
Register early to save 40%!

JonY

unread,
Nov 16, 2014, 7:38:04 AM11/16/14
to puppet...@googlegroups.com
Can't run 'facter' either.

$ cat /etc/os-release
NAME="Amazon Linux AMI"
VERSION="2014.09"
ID="amzn"
ID_LIKE="rhel fedora"
VERSION_ID="2014.09"
PRETTY_NAME="Amazon Linux AMI 2014.09"
ANSI_COLOR="0;33"
CPE_NAME="cpe:/o:amazon:linux:2014.09:ga"


In any event - you were right about it being a duplicate of an existing bug. 
Reply all
Reply to author
Forward
0 new messages