Merge "Add symlink for ceph-deb-hammer"

This commit is contained in:
Jenkins 2016-04-16 00:19:26 +00:00 committed by Gerrit Code Review
commit 9f19c35fae

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',