Index: modules/adblockplus/manifests/web/fileserver.pp |
=================================================================== |
--- a/modules/adblockplus/manifests/web/fileserver.pp |
+++ b/modules/adblockplus/manifests/web/fileserver.pp |
@@ -16,9 +16,6 @@ |
# The name of the private key file within modules/private/files, if any. |
# Requires a certificate as well. |
# |
-# [*is_default*] |
-# Passed on to nginx (whether or not the site config should be default). |
-# |
# [*repositories*] |
# A collection (hash) of repositories to serve. |
# The contents of a repository is served on a subdomain of the fileserver. |
@@ -41,16 +38,12 @@ |
ensure => directory, |
} |
+ file {"${::adblockplus::directory}/htpasswd": |
+ ensure => directory, |
+ } |
+ |
ensure_resources('adblockplus::web::fileserver::repository', $repositories, { |
ensure => 'present', |
}) |
- |
- nginx::hostconfig{ "$domain": |
- source => 'puppet:///modules/adblockplus/nginx/fileserver.conf', |
- is_default => true, |
- certificate => $certificate, |
- private_key => $private_key, |
- log => 'access_log_fileserver', |
- } |
} |