Files
puppet-swift/manifests/proxy/staticweb.pp
Takashi Kajinami 73d0dbfb0a Prepare for voxpupuli-puppet-lint-plugins
Fix new lint errors detected when full of the voxpupili lint plugins
are enabled.

Change-Id: Ifb5b50d7ae23c3e69a70721598e2719dbafa14d5
Signed-off-by: Takashi Kajinami <kajinamit@oss.nttdata.com>
2025-08-20 07:01:23 +00:00

35 lines
748 B
Puppet

#
# Configure swift staticweb, see documentation for Swift staticweb middleware
# to understand more about configuration.
#
# == Dependencies
#
# == Examples
#
# include 'swift::proxy::staticweb'
#
# == Parameters
#
# [*url_base*]
# (optional) The URL scheme and/or the host name used to generate redirects.
# Defaults to $facts['os_service_default'].
#
# == Authors
#
# Mehdi Abaakouk <sileht@sileht.net>
#
# == Copyright
#
# Copyright 2012 eNovance licensing@enovance.com
#
class swift::proxy::staticweb (
$url_base = $facts['os_service_default']
) {
include swift::deps
swift_proxy_config {
'filter:staticweb/use': value => 'egg:swift#staticweb';
'filter:staticweb/url_base': value => $url_base;
}
}