Merge "Deprecate swift::test_file"

This commit is contained in:
Zuul 2022-03-03 12:23:56 +00:00 committed by Gerrit Code Review
commit 4d86b7762a
3 changed files with 8 additions and 6 deletions

View File

@ -279,10 +279,4 @@ node /swift-proxy/ {
@@swift::ringsync { ['account', 'object', 'container']:
ring_server => $swift_local_net_ip,
}
# deploy a script that can be used for testing
class { 'swift::test_file':
auth_server => $swift_keystone_node,
password => $swift_keystone_admin_password,
}
}

View File

@ -1,5 +1,6 @@
# == Class: swift::test_file
#
# DEPRECATED !!
# Deploys a file that can be used to verify your swift installation.
#
# === Parameters
@ -39,6 +40,8 @@ class swift::test_file (
include swift::deps
warning('The swift::test_file class is deprecated and will be removed in a future release.')
file { '/tmp/swift_test_file.rb':
mode => '0755',
content => template('swift/swift_keystone_test.erb'),

View File

@ -0,0 +1,5 @@
---
deprecations:
- |
The ``swift::test_file`` class has been deprecated and will be removed
in a future release.