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:
parent
3181b5b9e8
commit
3dbde4d268
@ -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',
|
||||
|
Loading…
x
Reference in New Issue
Block a user