Puppet agent installation error.

753 views
Skip to first unread message

karra.a...@gmail.com

unread,
Jun 11, 2017, 4:52:35 PM6/11/17
to Puppet Users
Hi All,

I'm using PE version 2017.2.1 for 10 nodes.

I'm running into below issue while installing puppet agent. I have tried in both redhat 7.3 & 6.8 servers to install puppet agent. 

[root@vslrch1c003 ~]# curl -k https://10.0.0.100:8140/packages/current/install.bash | sudo bash
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 20122  100 20122    0     0   122k      0 --:--:-- --:--:-- --:--:--  123k
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.
[root@vslrch1c003 ~]#

[root@vslrch1c004 ~]# curl -k https://10.0.0.100:8140/packages/current/install.bash | sudo bash
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 20122  100 20122    0     0  26697      0 --:--:-- --:--:-- --:--:--  153k
The agent packages needed to support el-6-x86_64 are not present on your master.     To add them, apply the pe_repo::platform::el_6_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.
[root@vslrch1c004 ~]#


Please help me how to solve above problem.



James Pryor

unread,
Jun 12, 2017, 2:00:44 AM6/12/17
to puppet...@googlegroups.com
That error message output is perhaps telling you what you need to do to fix the problem, which is to classify your master node with the appropriate pe_repo::platform:: subclass.
Have you followed the directions for PE agents?
https://docs.puppet.com/pe/latest/install_agents.html#installing-puppet-agents-with-pe-package-management

--
You received this message because you are subscribed to the Google Groups "Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to puppet-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/309a6f15-b53d-4c58-9c9d-546cb4ed0a32%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Joshua Schaeffer

unread,
Jun 12, 2017, 11:01:38 AM6/12/17
to Puppet Users
  1. Log into your console.
  2. Go to Nodes -> Classifications -> PE Master.
  3. Under the PE Master classification click on the Classes tab.
  4. Add the pe_repo::platform::el_7_x86_64 class to the classification.
  5. Run puppet on the Puppetserver.

To unsubscribe from this group and stop receiving emails from it, send an email to puppet-users...@googlegroups.com.

Danish Siddiqui

unread,
Jun 12, 2017, 11:07:37 AM6/12/17
to puppet...@googlegroups.com
As Joshua suggests you need to claasify the agent. Follow what he has written. Check out quick installation guide for puppet.

To unsubscribe from this group and stop receiving emails from it, send an email to puppet-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/e0f5acc5-9472-4443-b794-a7f6b4cec4ed%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages