Deprecate swift::test_file
This class generates a script to test swift installation but the script has quite outdated implementation. It still required Keystone v2 API which was already removed from Keystone, so no longer works. Because verification of the deployment is out of scope of deployment tools, the class is deprecated and will be removed in a future release. Change-Id: I0409afde6d63d5c1b7b7193334545278faab4b0b
This commit is contained in:
parent
a42ed4509f
commit
dd3a5bbf0d
@ -279,10 +279,4 @@ node /swift-proxy/ {
|
|||||||
@@swift::ringsync { ['account', 'object', 'container']:
|
@@swift::ringsync { ['account', 'object', 'container']:
|
||||||
ring_server => $swift_local_net_ip,
|
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,
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
@ -1,5 +1,6 @@
|
|||||||
# == Class: swift::test_file
|
# == Class: swift::test_file
|
||||||
#
|
#
|
||||||
|
# DEPRECATED !!
|
||||||
# Deploys a file that can be used to verify your swift installation.
|
# Deploys a file that can be used to verify your swift installation.
|
||||||
#
|
#
|
||||||
# === Parameters
|
# === Parameters
|
||||||
@ -39,6 +40,8 @@ class swift::test_file (
|
|||||||
|
|
||||||
include swift::deps
|
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':
|
file { '/tmp/swift_test_file.rb':
|
||||||
mode => '0755',
|
mode => '0755',
|
||||||
content => template('swift/swift_keystone_test.erb'),
|
content => template('swift/swift_keystone_test.erb'),
|
||||||
|
@ -0,0 +1,5 @@
|
|||||||
|
---
|
||||||
|
deprecations:
|
||||||
|
- |
|
||||||
|
The ``swift::test_file`` class has been deprecated and will be removed
|
||||||
|
in a future release.
|
Loading…
x
Reference in New Issue
Block a user