feat: add cname for repos

This commit is contained in:
Ben Vincent 2023-11-29 23:08:01 +11:00
parent 03d37db1e1
commit 1ccd8141ab

View File

@ -30,6 +30,15 @@ class profiles::reposync::webserver (
}
}
# export cnames for webserver
profiles::dns::record { "${::facts['networking']['fqdn']}_repos.main.unkin.net_CNAME":
value => $::facts['networking']['hostname'],
type => 'CNAME',
record => 'repos.main.unkin.net.',
zone => $::facts['networking']['domain'],
order => 10,
}
if $selinux {
# include packages that are required