summaryrefslogtreecommitdiffstats
path: root/utils/infra_setup/user_data/p-agent-user-data
diff options
context:
space:
mode:
Diffstat (limited to 'utils/infra_setup/user_data/p-agent-user-data')
-rw-r--r--utils/infra_setup/user_data/p-agent-user-data1
1 files changed, 1 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."