unable to find puppet agent package on puppet master

asked 2015-11-04 12:02:58 -0600

rajeevsharma gravatar image

updated 2015-11-04 23:33:12 -0600

Hi, I am trying to install puppet agent using curl cmd right after vm is provisioned on vcenter. Puppet server has diff platform than puppet agent node(new vm).

curl -k --silent https://xx.xx.xx.xx:8140/packages/cur... | sudo bash

failed to get https://ip-xx-xx-xx-xx.ec2.internal:8...64.bash The agent packages needed to support el-6-x8664 are not present on your master. To add them, apply the pe repo::platform::el6x86_64 class to your master node and then run Puppet.

To resolve above, I have followed https://docs.puppetlabs.com/pe/latest..., scenario 2. But still curl cmd is giving the same error. I can see the packages available at master.

[root@ip-xx-xx-xx-xx tmp]# ls /opt/puppetlabs/server/data/packages/public/current/

el-6-x8664 el-6-x8664.bash el-6-x8664.repo el-7-x8664 el-7-x8664.bash el-7-x8664.repo install.bash

Platform of puppet master: el-7-x8664, platform of puppet node: el-6-x8664

I can see the el-6 has been added to master on console. Unable to trace out the issue. Even I am not able to restart puppet server service. Any help would be appreciated.

edit retag flag offensive close merge delete