Puppet with Centos/Rhel7

asked 2014-07-15 07:21:43 -0500

wingZero gravatar image

updated 2014-07-15 12:55:51 -0500

Stefan gravatar image


Does anyone know if puppet works with Centos/Rhel7.

Tried installing the latest rpm from the yum.puppetlabs repo and its not starting the service currently and I cant see to get anything really helpful to advise why?

Any ideas?


[root@localhost log]# service puppet start Redirecting to /bin/systemctl start  puppet.service

Jul 15 13:21:14 localhost systemd: Starting Puppet agent...
Jul 15 13:21:14 localhost systemd: Started Puppet agent.  Jul 15 13:21:14 localhost systemd: Failed at step EXEC spawning /usr/bin/puppet: Exec format error 
Jul 15 13:21:14 localhost systemd: puppet.service: main process exited, code=exited, status=203/EXEC 
Jul 15 13:21:14 localhost systemd: Unit puppet.service entered failed state.
edit retag flag offensive close merge delete


What repo did you use? should be this one: sudo rpm -ivh http://yum.puppetlabs.com/puppetlabs-release-el-7.noarch.rpm

spuder gravatar imagespuder ( 2014-07-15 19:09:30 -0500 )edit

Hi, Yeah I have used the el7 repo and installed the el7 puppet rpm but the service does not seem to start currently.

wingZero gravatar imagewingZero ( 2014-07-16 01:20:49 -0500 )edit

I installed rvm and then tried installing ruby 1.9.3 and then reinstalled puppet this now seems to work.

wingZero gravatar imagewingZero ( 2014-07-16 02:51:40 -0500 )edit

Well I said that, however only the service is now running, if we try to run any puppet commands its now bringing back the below. Details: [root@localhost log]# puppet --version /usr/share/rubygems/rubygems/coreext/kernelrequire.rb:53:in `require': cannot load such file -- json (LoadError)

wingZero gravatar imagewingZero ( 2014-07-16 04:07:03 -0500 )edit

did you try /opt/puppet/bin/puppet --version. I got this error and when running the command above way the error disappeared.

paragdj gravatar imageparagdj ( 2015-04-29 09:20:36 -0500 )edit