diff --git a/modules/openstack_project/manifests/mirror.pp b/modules/openstack_project/manifests/mirror.pp index c2b15da6b2..dfec78b367 100644 --- a/modules/openstack_project/manifests/mirror.pp +++ b/modules/openstack_project/manifests/mirror.pp @@ -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',