[puppet] Fixed DNS issue on target node

This commit is contained in:
Mike Scherbakov 2012-11-03 02:10:37 +04:00
parent eb8a62fe07
commit 0dcc6654f9
3 changed files with 3 additions and 2 deletions

View File

@ -29,6 +29,7 @@ class nailgun(
$rabbitmq_naily_password = "naily",
$rabbitmq_plugins_repo = "file:///var/www/nailgun/rabbitmq-plugins",
$puppet_master_hostname = "${hostname}.${domain}",
$puppet_master_ip = $ipaddress,
) {

View File

@ -48,5 +48,5 @@ PUPPET_MASTER_HOST: "<%= puppet_master_hostname %>"
PUPPET_VERSION: "2.7.19"
DNS_DOMAIN: "<%= domain %>"
DNS_SERVERS: "127.0.0.1"
DNS_SERVERS: "<%= puppet_master_ip %>"
DNS_SEARCH: "<%= domain %>"

View File

@ -26,7 +26,7 @@ class TestCobbler(Base):
def test_cobbler_alive(self):
logging.info("Waiting for handlers to complete")
logging.info("Waiting while bootstrapping is in progress")
self.remote.connect_ssh(str(self.ip), "root", "r00tme")
count = 0