Ask Your Question
0

puppet agent : undefined method 'enum_lsdev'

asked 2013-06-11 13:31:26 -0500

BaltoStar gravatar image

updated 2013-06-11 14:47:47 -0500

Ubuntu , Puppet 3.2.1 , facter 1.7.1

master & agent installed on same server (myserver.mydomain.com)

putty/ssh to server:

"ping myserver" succeeds

"telnet myserver 8140" succeeds ( briefly, connection closed after a couple secs )

/etc/puppet/puppet.conf

[agent]

server=myserver.mydomain.com

certname=myserver.mycomain.com

sudo puppet agent --temp

Error: Could not retrieve local facts: undefined method 'enum_lsdev' for Facter::Util::Processor:Module

Error: Failed to apply catalog: Could not retrieve local facts: undefined method 'enum_lsdev' for Facter::Util::Processor:Module

edit retag flag offensive close merge delete

Comments

Please run "facter --trace" and post the output back here for further troubleshooting.

GregLarkin gravatar imageGregLarkin ( 2013-06-11 14:52:59 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted
0

answered 2013-06-11 15:36:26 -0500

BaltoStar gravatar image

This problem is somehow related to installing Puppet via the .deb package that ships with Ubuntu.

Once I ripped that out , and installed Puppet via gem installer , the agent starts successfully.

edit flag offensive delete link more

Comments

Why not install from apt.puppetlabs.com?

Ancillas gravatar imageAncillas ( 2013-06-11 16:25:30 -0500 )edit

I'm confused about how you got 3.2.1 installed using Ubuntu packages. The latest version they appear to ship is 2.7.18-4ubuntu1

ramindk gravatar imageramindk ( 2013-06-12 12:33:42 -0500 )edit

I installed Puppet 3.2.1 from apt-get. Prior to my involvement , someone had installed Puppet from the Ubuntu packages. But the problems didn't go away until I uninstalled ...(more)

BaltoStar gravatar imageBaltoStar ( 2013-06-13 22:22:52 -0500 )edit

You used apt-get, sure, but from what source?

Ancillas gravatar imageAncillas ( 2013-06-14 13:48:42 -0500 )edit

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

Stats

Asked: 2013-06-11 13:31:26 -0500

Seen: 226 times

Last updated: Jun 11 '13