Add symlink to publish apt repos

Our mirror vhost config uses symlinks in /var/www to control what is
published. Add an entry for the apt repo.

Change-Id: I301c61282e53d4cf596efe45b27dadce797f947e
This commit is contained in:
Monty Taylor 2016-02-06 09:48:59 -06:00
parent 3181b5b9e8
commit 3dbde4d268

View File

@ -50,6 +50,17 @@ class openstack_project::mirror (
]
}
# Create the symlink to apt.
file { "${www_root}/apt":
ensure => link,
target => "${mirror_root}/apt",
owner => root,
group => root,
require => [
File["${www_root}"],
]
}
file { "${www_root}/robots.txt":
ensure => present,
owner => 'root',