2012-05-16 2 views
3

저는 Mac에서 몇 가지 병렬 Vms를 사용하고 있는데, 꼭두각시 마스터와 인형극 클라이언트 사이에 간단한 연결을 설정하려고합니다.퍼핏 서버/클라이언트 연결에 실패했습니다.

  1. 인형 마스터
  2. 인형 클라이언트 (가상 코어 6.2) (우분투 12.1 서버)

다음 명령을 사용하여 클라이언트를 연결하려고합니다.

puppet agent --server 192.168.1.103 --waitforcert 60 --test --verbose 
이 나는 ​​디버깅 꼭두각시 마스터는 다음의 출력이 수신 한 서버 측에서 다음 출력

warning: peer certificate won't be verified in this SSL session 
info: Caching certificate for ca 
warning: peer certificate won't be verified in this SSL session 
warning: peer certificate won't be verified in this SSL session 
info: Creating a new SSL certificate request for puppet1.localdomain 
info: Certificate Request fingerprint (md5) : 2E:C6:D2:C2:........ 
warning: peer certificate won't be verified in this SSL session 
warning: peer certificate won't be verified in this SSL session 
warning: peer certificate won't be verified in this SSL session 
warning: peer certificate won't be verified in this SSL session 
notice: Did not receive certificate 

연결하려고

:

notice: Starting Puppet master version 2.7.14 
err: Could not resolve 192.168.1.101: no name for 192.168.1.101 
info: access[^/catalog/([^/]+)$]: allowing 'method' find 
info: access[^/catalog/([^/]+)$]: allowing $1 access 
info: access[^/node/([^/]+)$]: allowing 'method' find 
info: access[^/node/([^/]+)$]: allowing $1 access 
info: access[/certificate_revocation_list/ca]: allowing 'method' find 
info: access[/certificate_revocation_list/ca]: allowing * access 
info: access[/report]: allowing 'method' save 
info: access[/report]: allowing * access 
info: access[/file]: allowing * access 
info: access[/certificate/ca]: adding authentication any 
info: access[/certificate/ca]: allowing 'method' find 
info: access[/certificate/ca]: allowing * access 
info: access[/certificate/]: adding authentication any 
info: access[/certificate/]: allowing 'method' find 
info: access[/certificate/]: allowing * access 
info: access[/certificate_request]: adding authentication any 
info: access[/certificate_request]: allowing 'method' find 
info: access[/certificate_request]: allowing 'method' save 
info: access[/certificate_request]: allowing * access 
info: access[/]: adding authentication any 
info: Inserting default '/status' (auth true) ACL because none were found in '/etc/puppet/auth.conf' 
err: Could not resolve 192.168.1.101: no name for 192.168.1.101 
info: Could not find certificate for 'puppet1.localdomain' 
err: Could not resolve 192.168.1.101: no name for 192.168.1.101 
info: Could not find certificate_request for 'puppet1.localdomain' 
err: Could not resolve 192.168.1.101: no name for 192.168.1.101 
notice: puppet1.localdomain has a waiting certificate request 
err: Could not resolve 192.168.1.101: no name for 192.168.1.101 
info: Could not find certificate for 'puppet1.localdomain' 
err: Could not resolve 192.168.1.101: no name for 192.168.1.101 
info: Could not find certificate for 'puppet1.localdomain' 
err: Could not resolve 192.168.1.101: no name for 192.168.1.101 
info: Could not find certificate for 'puppet1.localdomain' 
err: Could not resolve 192.168.1.101: no name for 192.168.1.101 
info: Could not find certificate for 'puppet1.localdomain' 

설정하는 것이 가능 호스트 해상도 및 단순한 IP 주소를 사용하지 않고 간단한 인형 구성?

어떤 도움이 필요합니까?

+0

귀하의 질문에 답변하지는 않지만 귀하의 문제를 해결할 수 있습니다. avahi/mdns를 사용하여 로컬 DNS 분석을 제공 할 수 있습니다. 그냥 centos와 우분투에 설치하면 hostname.local을 ping 할 수 있어야합니다. –

+0

다른 VM을 도메인 컨트롤러로 설정하는 데 신경 쓰지는 않지만 단지 누군가가 ip 주소 만 사용하여 이것을 설정했는지 알고 싶습니다. – Maverick

+0

실행 해 보셨습니까? 이 sudo를 사용하여? –

답변

2

VM의 IP를 모두/etc/hosts 파일에 추가하면 문제가 해결되었습니다. 그러면 꼭두각시가 나를 위해 일하고있다.

관련 문제