summaryrefslogtreecommitdiffstats
path: root/utils/infra_setup
diff options
context:
space:
mode:
Diffstat (limited to 'utils/infra_setup')
-rw-r--r--utils/infra_setup/user_data/p-agent-user-data1
-rw-r--r--utils/infra_setup/user_data/p-master-user-data1
2 files changed, 2 insertions, 0 deletions
diff --git a/utils/infra_setup/user_data/p-agent-user-data b/utils/infra_setup/user_data/p-agent-user-data
index 2641c900..6ec191b8 100644
--- a/utils/infra_setup/user_data/p-agent-user-data
+++ b/utils/infra_setup/user_data/p-agent-user-data
@@ -10,5 +10,6 @@ runcmd:
- sed -i '/^factpath/a runinterval=1d' /etc/puppet/puppet.conf
- sed -i '/^templatedir/d' /etc/puppet/puppet.conf
- sed -i 's/START=no/START=yes/g' /etc/default/puppet
+ - sed -i '/^\[master\]/a dns_alt_names=REPLACED_PUPPET_MASTER_SERVER' /etc/puppet/puppet.conf
final_message: "The system with puppet is finally up, after $UPTIME seconds."
diff --git a/utils/infra_setup/user_data/p-master-user-data b/utils/infra_setup/user_data/p-master-user-data
index 05d137dd..76087259 100644
--- a/utils/infra_setup/user_data/p-master-user-data
+++ b/utils/infra_setup/user_data/p-master-user-data
@@ -9,5 +9,6 @@ runcmd:
- sed -i '/^factpath/a server=REPLACED_PUPPET_MASTER_SERVER' /etc/puppet/puppet.conf
- sed -i '/^factpath/a runinterval=1d' /etc/puppet/puppet.conf
- sed -i '/^templatedir/d' /etc/puppet/puppet.conf
+ - sed -i '/^\[master\]/a dns_alt_names=REPLACED_PUPPET_MASTER_SERVER' /etc/puppet/puppet.conf
final_message: "The system with puppet is finally up, after $UPTIME seconds."