#cloud-config # TODO: This needs to be customized/fixed preserve_hostname: false hostname: ${hostname} fqdn: ${fqdn} runcmd: - echo "${fqdn}" > /etc/salt/minion_id - /bin/systemctl restart salt-minion - /bin/systemctl enable salt-minion - /bin/systemctl start amazon-ssm-agent - /bin/systemctl enable amazon-ssm-agent - /usr/sbin/aide --update --verbose=0 - /bin/cp /var/lib/aide/aide.db.new.gz /var/lib/aide/aide.db.gz # httpd here to avoid a chicken and egg for repo server # installing it via salt state won't work because by then # the salt states could have us pointed to ourselves as the repo server packages: - httpd