Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- root@ip-10-248-27-66:/home/ubuntu# puppetca --sign ec2-54-245-56-210.us-west-2.compute.amazonaws.com
- err: Could not call sign: Could not find certificate request for ec2-54-245-56-210.us-west-2.compute.amazonaws.com
- 127.0.0.1 localhost puppetmaster
- 10.248.34.162 ec2-54-245-56-210.us-west-2.compute.amazonaws.com puppet
- # The following lines are desirable for IPv6 capable hosts
- ::1 ip6-localhost ip6-loopback
- fe00::0 ip6-localnet
- ff00::0 ip6-mcastprefix
- ff02::1 ip6-allnodes
- ff02::2 ip6-allrouters
- ff02::3 ip6-allhosts
- 127.0.0.1 localhost
- 10.248.27.66 ec2-50-112-220-110.us-west-2.compute.amazonaws.com puppetmaster
- # The following lines are desirable for IPv6 capable hosts
- ::1 ip6-localhost ip6-loopback
- fe00::0 ip6-localnet
- ff00::0 ip6-mcastprefix
- ff02::1 ip6-allnodes
- ff02::2 ip6-allrouters
- ff02::3 ip6-allhosts
- root@ip-10-248-27-66:/home/ubuntu# service puppetmaster status
- * master is running
- root@ip-10-248-34-162:/home/ubuntu# host puppetmaster
- Host puppetmaster not found: 3(NXDOMAIN)
- root@ip-10-248-34-162:/home/ubuntu# telnet puppetmaster 8140
- Trying 10.248.27.66...
- Connected to ec2-50-112-220-110.us-west-2.compute.amazonaws.com.
- Escape character is '^]'.
- Apr 11 17:57:41 ip-10-248-34-162 puppet-agent[3897]: Could not request certificate: getaddrinfo: Name or service not known
- root@ip-10-248-34-162:/home/ubuntu# puppet agent --test
- err: Could not request certificate: getaddrinfo: Name or service not known
- Exiting; failed to retrieve certificate and waitforcert is disabled
- $ getent hosts puppetmaster
- 10.248.27.66 ec2-50-112-220-110.us-west-2.compute.amazonaws.com puppetmaster
- $ puppet agent --test --waitforcert 5
- err: Could not request certificate: Connection refused - connect(2)
- err: Could not request certificate: Connection refused - connect(2)
- iptables -F
- service service iptables save
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement