Merge "Use template for Nginx in pypimirror module."
This commit is contained in:
commit
2400d7de84
@ -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",
|
||||
|
@ -4,6 +4,6 @@ server {
|
||||
index index.html index.htm;
|
||||
|
||||
location / {
|
||||
root /usr/local/pypimirror;
|
||||
root <%= mirror_file_path %>;
|
||||
}
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user