Merge "Use template for Nginx in pypimirror module."

This commit is contained in:
Jenkins 2012-05-15 17:38:47 +00:00 committed by Gerrit Code Review
commit 2400d7de84
2 changed files with 2 additions and 2 deletions

View File

@ -99,7 +99,7 @@ class pypimirror ( $base_url,
file { "/etc/nginx/sites-available/default":
ensure => present,
source => "puppet:///modules/pypimirror/default",
content => template('pypimirror/nginx_default.erb'),
replace => true,
owner => "root",
group => "root",

View File

@ -4,6 +4,6 @@ server {
index index.html index.htm;
location / {
root /usr/local/pypimirror;
root <%= mirror_file_path %>;
}
}