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/current/install.bash | sudo bash
> failed to get> https://ip-xx-xx-xx-xx.ec2.internal:8140/packages/2015.2.2/el-6-x86_64.bash> 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.
To resolve above, I have followed https://docs.puppetlabs.com/pe/latest/install_agents.html, 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-x86_64 el-6-x86_64.bash el-6-x86_64.repo el-7-x86_64 el-7-x86_64.bash el-7-x86_64.repo install.bash
Platform of puppet master: el-7-x86_64,
platform of puppet node: el-6-x86_64
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.
↧