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:
parent
3526c3ae58
commit
d122f85115
@ -8,6 +8,7 @@ class openstack_project::mirror (
|
|||||||
$pypi_root = "${mirror_root}/pypi"
|
$pypi_root = "${mirror_root}/pypi"
|
||||||
$wheel_root = "${mirror_root}/wheel"
|
$wheel_root = "${mirror_root}/wheel"
|
||||||
$npm_root = "${mirror_root}/npm"
|
$npm_root = "${mirror_root}/npm"
|
||||||
|
$ceph_deb_hammer_root = "${mirror_root}/ceph-deb-hammer"
|
||||||
|
|
||||||
$www_base = '/var/www'
|
$www_base = '/var/www'
|
||||||
$www_root = "${www_base}/mirror"
|
$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":
|
file { "${www_root}/robots.txt":
|
||||||
ensure => present,
|
ensure => present,
|
||||||
owner => 'root',
|
owner => 'root',
|
||||||
|
Loading…
Reference in New Issue
Block a user