Puppet with Centos/Rhel7 [closed]

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

wingZero gravatar image

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

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 reopen merge delete

Closed for the following reason question is not relevant or outdated by binford2k
close date 2018-07-20 18:49:18.375173


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 -0600 )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 -0600 )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 -0600 )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 -0600 )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 -0600 )edit