Fix ubuntu-mariadb link in mirror.pp

Change-Id: I9889b4b260457d3e42b46f67797289bb10419c6e
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
This commit is contained in:
Paul Belanger 2017-03-02 13:10:52 -05:00
parent 887f62310d
commit 1002b90018

View File

@ -163,10 +163,10 @@ class openstack_project::mirror (
]
}
# Create the symlink to MariaDB.
file { "${www_root}/mariadb":
# Create the symlink to Ubuntu MariaDB.
file { "${www_root}/ubuntu-mariadb":
ensure => link,
target => "${mirror_root}/mariadb",
target => "${mirror_root}/ubuntu-mariadb",
owner => root,
group => root,
require => [
@ -174,6 +174,11 @@ class openstack_project::mirror (
]
}
# TODO(pabelanger): We can remove this after puppet runs a few times.
file { "${www_root}/mariadb":
ensure => absent,
}
file { "${www_root}/gem":
ensure => link,
target => "${gem_root}",