Agent installation failing on CentOS 6.5
I am having my CentOS 6.5 installed with Puppet Entrprise 3.3.
The dashboard is running fine.
Now I want to add a puppet agent on another CentOS 6.5 box.
Since both are same OS type, Following the guidelines available in puppet docs site https://docs.puppetlabs.com/pe/latest... , I run the following
curl -k https://<mymasterserverFQDN>:8140/packages/current/install.bash | sudo bash
But I receive the error
% Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 curl: (56) Received HTTP code 503 from proxy after CONNECT
I checked my master server iptables.I have added rule for 8140 port and did sudo service iptables save.
Chain INPUT (policy ACCEPT) target prot opt source destination ACCEPT all -- anywhere anywhere state RELATED,ESTABLISHED ACCEPT icmp -- anywhere anywhere ACCEPT all -- anywhere anywhere ACCEPT tcp -- anywhere anywhere state NEW tcp dpt:ssh REJECT all -- anywhere anywhere reject-with icmp-host-prohibited ACCEPT tcp -- anywhere anywhere tcp dpt:8140 Chain FORWARD (policy ACCEPT) target prot opt source destination REJECT all -- anywhere anywhere reject-with icmp-host-prohibited Chain OUTPUT (policy ACCEPT) target prot opt source destination
The supposed to be agent box can resolve the master server hostname, the ping responds properly.
I have tried to run curl by additionally providing the proxy address (using -x [protocol://proxy:port] (login credentials not needed), as I am actually behind proxy, but not sure how that will effect this installation here.
But no benefit.
Also tried with
curl -k https://<mymasterserverFQDN>:8140/packages/current/el-6-x86_64.bash | sudo bash
but same issue.
I can see the install.bash/el-6-x86_64.bash exists /opt/puppet/packages/public/current in the master server [It was a standard monolitic installation, I did not do anything funky with it]
Can anyone please help me out on this. I searched in net but not getting much information on this error.