Deprecate classes with hyphens
Puppet does not recommend the use of hyphens in class names. This change deprecates classes with hyphens and inform the users to use the new ones. Backward compatibility is preserved. Change-Id: I4991c956e297d76423a805558d9b6731473a4a51
This commit is contained in:
parent
943c2f0c6e
commit
0f7601a358
@ -1,20 +1,5 @@
|
||||
#
|
||||
# Configure swift proxy-logging.
|
||||
#
|
||||
# == Dependencies
|
||||
#
|
||||
# == Examples
|
||||
#
|
||||
# == Authors
|
||||
#
|
||||
# Joe Topjian joe@topjian.net
|
||||
#
|
||||
class swift::proxy::proxy-logging {
|
||||
|
||||
concat::fragment { 'swift_proxy-logging':
|
||||
target => '/etc/swift/proxy-server.conf',
|
||||
content => template('swift/proxy/proxy-logging.conf.erb'),
|
||||
order => '27',
|
||||
}
|
||||
|
||||
warning('swift::proxy::proxy-logging is deprecated. Use swift::proxy::proxy_logging instead.')
|
||||
include swift::proxy::proxy_logging
|
||||
}
|
||||
|
15
manifests/proxy/proxy_logging.pp
Normal file
15
manifests/proxy/proxy_logging.pp
Normal file
@ -0,0 +1,15 @@
|
||||
#
|
||||
# Configure swift proxy-logging.
|
||||
#
|
||||
# == Authors
|
||||
#
|
||||
# Joe Topjian joe@topjian.net
|
||||
#
|
||||
class swift::proxy::proxy_logging {
|
||||
|
||||
concat::fragment { 'swift_proxy-logging':
|
||||
target => '/etc/swift/proxy-server.conf',
|
||||
content => template('swift/proxy/proxy-logging.conf.erb'),
|
||||
order => '27',
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user