Files
puppet-swift/manifests/proxy/gatekeeper.pp
Adam Vinsh c659733d39 Add hooks for external install & svc management
This adds defined anchor points for external modules to hook into the
software install, config and service dependency chain.  This allows
external modules to manage software installation (virtualenv,
containers, etc) and service management (pacemaker) without needing rely
on resources that may change or be renamed.

Change-Id: I00cf4846bb933291469be94c9debed425eddf798
2016-05-25 08:52:47 -04:00

55 lines
983 B
Puppet

#
# Configure swift gatekeeper.
#
# == Examples
#
# include swift::proxy::gatekeeper
#
# == Parameters
#
# [*log_name*]
# The log name of gatekeeper.
# Default to gatekeeper.
#
# [*log_facility*]
# The log facility of gatekeeper.
# Default to LOG_LOCAL0.
#
# [*log_level*]
# The log level of gatekeeper.
# Default to INFO.
#
# [*log_headers*]
# The log headers of gatekeeper.
# Default to false.
#
# [*log_address*]
# The log address of gatekeeper.
# Default to '/dev/log'.
#
# == Authors
#
# Xingchao Yu yuxcer@gmail.com
#
# == Copyright
#
# Copyright 2014 UnitedStack licensing@unitedstack.com
#
class swift::proxy::gatekeeper(
$log_name = 'gatekeeper',
$log_facility = 'LOG_LOCAL0',
$log_level = 'INFO',
$log_headers = false,
$log_address = '/dev/log'
) {
include ::swift::deps
concat::fragment { 'swift_gatekeeper':
target => '/etc/swift/proxy-server.conf',
content => template('swift/proxy/gatekeeper.conf.erb'),
order => '34',
}
}