Ask Your Question

Issue in running puppet command

asked 2014-04-16 11:21:02 -0600

santosh_patha gravatar image

updated 2014-04-16 12:47:49 -0600

spuder gravatar image

Hi Puppet users,

Please help on the below issue.....

**puppet resource user**
/usr/lib/ruby/site_ruby/1.8/puppet/util.rb:12:in `require': no such file to load -- securerandom (LoadError)
    from /usr/lib/ruby/site_ruby/1.8/puppet/util.rb:12
    from /usr/lib/ruby/site_ruby/1.8/puppet.rb:8:in `require'
    from /usr/lib/ruby/site_ruby/1.8/puppet.rb:8
    from /usr/lib/ruby/site_ruby/1.8/puppet/util/command_line.rb:12:in `require'
    from /usr/lib/ruby/site_ruby/1.8/puppet/util/command_line.rb:12
    from /usr/bin/puppet:3:in `require'
    from /usr/bin/puppet:3
edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2014-04-16 12:48:55 -0600

spuder gravatar image

It looks like you are running ruby 1.8 and it can't find the secure random library.

This likely will be fixed if you upgrade to a newer version of ruby.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower


Asked: 2014-04-16 11:21:02 -0600

Seen: 136 times

Last updated: Apr 16 '14