Added /var/www creation to mirrors
This adds the parent directory /var/www, which is required to create the directory /var/www/mirror. Change-Id: I6b8c7494c4bfebd8160c9cd6f75f0cb363bfa839
This commit is contained in:
parent
f2830ed5b9
commit
0765a9f22e
@ -6,14 +6,24 @@ class openstack_project::mirror (
|
||||
|
||||
$mirror_root = '/afs/openstack.org/mirror'
|
||||
$pypi_root = "${mirror_root}/pypi"
|
||||
$www_root = '/var/www/mirror'
|
||||
$www_base = '/var/www'
|
||||
$www_root = "${www_base}/mirror"
|
||||
|
||||
#####################################################
|
||||
# Build Apache Webroot
|
||||
file { "${www_base}":
|
||||
ensure => directory,
|
||||
owner => root,
|
||||
group => root,
|
||||
}
|
||||
|
||||
file { "${www_root}":
|
||||
ensure => directory,
|
||||
owner => root,
|
||||
group => root,
|
||||
require => [
|
||||
File["${www_base}"],
|
||||
]
|
||||
}
|
||||
|
||||
# Create the symlink to pypi.
|
||||
|
Loading…
x
Reference in New Issue
Block a user