Add symlink for ceph-deb-hammer

Add our missing symlink to the AFS mirror so we can see
ceph-deb-hammer under apache.

Change-Id: I5ac55e5904246dc399712062466e2960e5db6e30
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
This commit is contained in:
Paul Belanger 2016-04-15 15:59:53 -04:00
parent 3526c3ae58
commit d122f85115
No known key found for this signature in database
GPG Key ID: 611A80832067AF38

View File

@ -8,6 +8,7 @@ class openstack_project::mirror (
$pypi_root = "${mirror_root}/pypi"
$wheel_root = "${mirror_root}/wheel"
$npm_root = "${mirror_root}/npm"
$ceph_deb_hammer_root = "${mirror_root}/ceph-deb-hammer"
$www_base = '/var/www'
$www_root = "${www_base}/mirror"
@ -72,6 +73,17 @@ class openstack_project::mirror (
]
}
# Create the symlink to ceph-deb-hammer.
file { "${www_root}/ceph-deb-hammer":
ensure => link,
target => "${ceph_deb_hammer_root}",
owner => root,
group => root,
require => [
File["${www_root}"],
]
}
file { "${www_root}/robots.txt":
ensure => present,
owner => 'root',