Ask Your Question

Does Puppet not work with Centos 7?

asked 2016-11-04 15:23:52 -0500

ldco2016 gravatar image

updated 2016-11-09 22:12:56 -0500

ramindk gravatar image

I am following a tutorial and I get to the point where I have to curl the Node to add the Puppet Agent, but it does not install successfully.

I ask the instructor and he tells me its because I did not use Centos 6 and so because I am using Centos 7, I now have to add a centos 7 module?

I don't really understand this. I was able to succesfully install a Puppet Master on Centos 7, why can I not install a Puppet Agent on a Centos 7 Node?

So I destroyed the old Node and created a new Node, but instead I get this message now:

The agent packages needed to support el-7-x86_64 are not present on your master. To add them, apply the pe_repo::platform::el_7_x86_64 class to your master node and then run Puppet. The required agent packages should be retrieved when puppet runs on the master, after which you can run the install.bash script again.

Please help.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2016-11-04 23:03:31 -0500

Red Cricket gravatar image

You should do what the error message says to do. On your puppet master, as root, execute:

puppet apply -e 'include pe_repo::platform::el_7_x86_64'

Then run:

puppet agent -t

Yes they could of been a little bit more clear in the error message ;)

edit flag offensive delete link more


Thank you Red Cricket!

ldco2016 gravatar imageldco2016 ( 2016-11-05 20:39:24 -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


Asked: 2016-11-04 15:23:52 -0500

Seen: 100 times

Last updated: Nov 09 '16