Commit Graph

62 Commits

Author SHA1 Message Date
Rajesh Tailor 4d937a4a02 Fix typos in parameter descriptions and tests
Change-Id: Ic91d910b973303b0d4db5164fdf9b5fd807a4f70
2022-06-27 13:39:37 +00:00
Tobias Urdin 9a33ca7449 Add Puppet Litmus
Depends-On: https://review.opendev.org/#/c/740601/
Change-Id: I53c05e6a9846339fefaa0b4312dba9caebcfe70f
2020-08-31 21:57:38 +02:00
ZhongShengping 53fa2e738c Change rpsec to rspec
Change-Id: I65935127f7e09406efc1e71ddfec217f1d2db83f
2020-04-30 13:24:46 +08:00
Tobias Urdin 0868b32e79 Convert all class usage to relative names
Change-Id: I0335cf49c2ce55659c49325f2c0028f1af93705d
2019-12-08 23:21:35 +01:00
ZhongShengping 47aef3b075 Fix Repository
Change-Id: I0a73298bb999d53519a2c3625858baafc28cc685
2019-04-21 12:59:10 +08:00
ZhongShengping d78f9cf41a Replace git.openstack.org with opendev.org/openstack
Change-Id: I0ad2193c83706147afac880031148fd5ab393025
2019-04-21 11:50:32 +08:00
ZhongShengping ca8c736939 Add Beaker-Rspec to the table of contents
Change-Id: I21e44db3373fd9f2636be099e86f44deee962bdf
2019-04-17 09:42:45 +08:00
ZhongShengping 5a6296bc83 Change wiki to docs
Change-Id: I791c9d8596306ff57e6bd54eb96d9abaf7b59fda
2019-02-13 10:31:11 +08:00
ZhongShengping 769e6bdf83 Fix editorial problem
Use git.openstack.org instead of github.com since git.openstack.org is
the reference for OpenStack

Change-Id: I043735dbf3e7793e8e4b70b9a46001ef92bf0b21
2018-12-24 14:02:32 +08:00
ZhijunWei 876a210e2f Remove the unnecessary _
Change-Id: I44fa74c17057f704d048a24e5f3b8cd7e1388f9c
2018-07-18 15:18:05 -04:00
li.jiawang c180fcdd03 Add the project source code repository in README
Change-Id: I2a9670391217659c8cbab47c1e62c4b9de194039
2018-07-20 22:42:16 +08:00
wangqi f22631a231 add release note link in readme
Change-Id: Ica33c58622e908072891051ae02702839f4e9ce4
2018-06-21 14:52:57 +00:00
chenghuiyu b751869210 Update to the latest address in README
Change-Id: Id33ec8d4884e28a0d2948434357da6026f6090c9
2017-09-21 12:32:11 +08:00
ZhongShengping 86f435a2a5 Update URLs in documents according to document migration
Change-Id: I1b8e63b37be6599a4263afdf12d8f617163fde20
2017-07-14 13:05:37 +08:00
Flavio Percoco 72ae69d4f1 Show team and repo badges on README
This patch adds the team's and repository's badges to the README file.
The motivation behind this is to communicate the project status and
features at first glance.

For more information about this effort, please read this email thread:

http://lists.openstack.org/pipermail/openstack-dev/2016-October/105562.html

To see an example of how this would look like check:

https://gist.github.com/b327529b5b5b46765eadb59e28f3fcb1

Change-Id: I17261bee07a88999e83c09bd736dd4842182a3ca
2016-11-25 17:32:45 +01:00
Adam Vinsh 63688a14e5 Add support for swift storage policies
This change implements storage policies as defined by swift:
http://docs.openstack.org/developer/swift/overview_policies.html

There are two primary areas of change in this review
- Add storage policy support to the ringbuilder and ring devices, along with
  associated spec tests.
- Adding storage policy support and enforcing rules in swift.conf using the
  swift_storage_policy type and provider. Also: updated spec tests and an
  update to swift acceptance test to use storage policies to configure an
  additional 3 replica based ring.

See release notes and the README update for more details/instructions.

Change-Id: I2b8db751790704df3f1027a14f61e231591537f3
2016-11-22 16:17:52 +00:00
ZhongShengping 905acabee9 Fix markdown format typo
Change-Id: Id1c2a6596e983069889b4da6f8430e64260cf59a
2016-10-08 10:01:29 +08:00
Jenkins fbc530a9d3 Merge "Remove deprecated swift_hash_suffix" 2016-06-03 18:22:19 +00:00
Jenkins be4dc7e746 Merge "Change wiki to docs" 2016-06-03 16:54:57 +00:00
Iury Gregory Melo Ferreira 2d84cf4e16 Remove deprecated swift_hash_suffix
swift_hash_suffix was deprecated in Mitaka and
should be removed in Newton.

See http://docs.openstack.org/icehouse/config-reference/content/swift-general-service-configuration.html

Change-Id: I3b5c55607bcd8a2aa5288cdfefa96a152d1682cb
2016-06-03 12:55:02 +00:00
Denis Egorenko 7b5fde7d32 Cleanup README
Change-Id: I54ae4166522a6484fdf0c6eed013986163d2b36e
2016-06-03 12:34:44 +03:00
Iury Gregory Melo Ferreira 2311832335 Change wiki to docs
Change-Id: I573b510987def6b50e7f75e6a07efabb64263bf8
2016-06-02 23:41:11 -03:00
Denis Egorenko ec4db849c8 Allow to configure container_sync middleware
Add possibility to configure container_sync middleware. Also
allow to configure swift container-sync-realms, which specifying
the allowable clusters and their information, which is required
for container_sync.

Change-Id: I183841cca3daf72a30db160b88c9e3a9335ad7dc
2016-05-30 16:03:44 +03:00
Iury Gregory Melo Ferreira 9ecbadab2b Remove verbose
verbose is deprecated we dont need in README and site.pp

Change-Id: Iae5d6e5752f6b717e5e6943bff9a44bc5c81a02b
2016-05-19 10:09:44 -03:00
Marcus Furlong 07d9a99f4e typos and grammar fixes in the README
Change-Id: I3159f625aaa8edba86e5ce187b36ffc4ccdc9f14
2016-03-08 16:21:42 +11:00
Marcus Furlong ed5dfad934 fix rst in README
Documentation is currently somewhat broken due to a misplaced ```

This is clear when viewing on github as the Usage section ends up
in a code block.

Change-Id: I56a76d2d52b90ad717f939eb04fe137c50349655
2016-03-07 16:15:03 +11:00
venkatamahesh 5b839331cd Use uppercase 'S' in word "OpenStack"
Change-Id: I226b68df7decdfa0fcafdb290029f61ec6d0c0ae
2016-02-05 12:44:52 +05:30
Adam Vinsh 1b3864d211 Document and example for storage filters use
swift::storage::filter::recon
swift::storage::filter::healthcheck

Change-Id: I770a201b36fa82e5063c02e5d84d4c231211919b
Closes-Bug: #1466707
2015-12-10 18:20:03 -05:00
Adam Vinsh 67df8085d0 Use include for swift::storage::${type}
Require operator specify swiftinit provider
on supported components rather then pass it through.

Change-Id: I7e35c0a49f51e252573f46af9ba2a8eda968e3e2
Closes-Bug: #1524381
2015-12-09 10:25:21 -05:00
Jenkins c58ed14ef0 Merge "Remove references to puppet-openstack from README" 2015-12-08 19:38:06 +00:00
Adam Vinsh 5a7d18975f Manage swift with swiftinit service provider
The 'swiftinit' provider is a custom provider of the service type
that manages swift services using swift-init.

Use of the swiftinit service provider is optional, the default is
to use service providers specified in params file. This provider
also manages swift services starting at boot by adding or removing
a templated init or services file and making systemctl calls.
See README for more detail.

A wrapper defined type 'swift::service' has been created to simplify
use of the swiftinit provider without adding logic to every class.
this wrapper also aids in input validation and testing of the
swiftinit provider.

Two extra runs of apply_manifest have been added to the
basic_swift_spec acceptance test. The service_provider
is set to "swiftinit".  The first run catches any errors upgrading
to the swiftinit service provider and the second run tests
idempotency.

This patch is an initial step towards using swift-init to manage
multiple swift services out of different configuration files such
as is needed to run a separate replication network.

Change-Id: I2f71c82c7a6c463f8c76a193409c0a17daa15bda
2015-12-07 16:00:50 -05:00
Emilien Macchi 5ca8b0b75f release: prepare 7.0.0 (liberty)
This patch prepares this Puppet module to be released in 7.x series (Liberty)
with 7.0.0.

Change-Id: Ie4215a8aa36c886972ad4ab801fb038e2afffc93
2015-11-26 09:36:15 +01:00
Nate Potter 981693a1dc Remove references to puppet-openstack from README
The README references to the retired puppet-openstack module
should be removed, as they link to the empty github page.

Change-Id: If85db53bbe21114610d2ee1dcf5fcd0194f1668e
Closes-bug: #1518589
2015-11-22 16:31:47 +00:00
Sebastien Badia 31ab888be2 Prepare 6.1.0 release
Change-Id: I19c791d60c977eaefe6276730eba322c01a79ea2
(cherry picked from commit 69031e85eb)
2015-10-21 01:57:53 +00:00
Javier Pena d8a8b70547 Add support for swift-object-expirer service
The swift-object-expirer service was not supported by
puppet-swift. Adding support by creating a new class
(swift::objectexpirer), and its associated custom type/provider.

Change-Id: I498ffe525a7316c0091e4c9d8b7d9658234231f6
2015-09-30 10:09:09 +02:00
Aleksandr Didenko 4ee7b74aed Add support for DLO configuration.
New class swift::proxy::dlo for DLO configuration.
Add acceptance tests
Add docs to README

Change-Id: Ie209e494d7affd72c3fea3f2cc3459b91d7c6765
2015-09-24 16:36:21 -05:00
Yanis Guenane e6e8c9d836 Reflect provider change in puppet-openstacklib
With the creation of the new openstack_config provider, some processing
that was done in swift_config has been centralized in
openstack_config.

Impacted methods are :

  * section
  * setting
  * separator

Also, this commit adds the fact that, when passing a specific string
(ensure_absent_val) the provider will behave as if ensure => absent was
specified. '<SERVICE DEFAULT>' is the default value for
ensure_absent_val.

The use case is the following :

swift_config { 'DEFAULT/foo' : value => 'bar' } # will work as usual

swift_config { 'DEFAULT/foo' : value => '<SERVICE DEFAULT>' } # will mean absent

That means that all the current :

if $myvar {
  swift_config { 'DEFAULT/foo' : value => $myvar }
} else {
  swift_config { 'DEFAULT/foo' : ensure => absent }
}

can be removed in favor of :

swift_config { 'DEFAULT/foo' : value => $myvar }

If for any reason '<SERVICE DEFAULT>' turns out to be a valid value for
a specific parameter. One could by pass that doing the following :

swift_config { 'DEFAULT/foo' : value => '<SERVICE DEFAULT>',
ensure_absent_val => 'foo' }

Change-Id: I9281d2cae81f9799327f7f6e04498d6bc723f233
Depends-On: I0eeebde3aac2662cc7e69bfad7f8d2481463a218
2015-08-19 12:00:34 +02:00
Iury Gregory Melo Ferreira 720dd4c307 Update Swift README
Add wiki link (Like Neutron README.md)
Fix command in Installing swift

Change-Id: I05d76903f19c66434fd853be3d328843e16a036f
2015-07-28 12:02:42 -03:00
Jenkins c5cbd46e51 Merge "fix module install reference" 2015-07-14 20:19:41 +00:00
Matt Fischer ceb69f9dda fix module install reference
Change-Id: Ie475a893e0b12a283251b41777dbfa6995f933b3
Closes-Bug: #1468950
2015-07-13 19:43:54 -06:00
Emilien Macchi 851e0530fd Prepare 6.0.0 release
Update CHANGELOG, README and metadata.json to bump the module to the
first Kilo release (6.0.0).

Change-Id: Ie03dec60485d6dd94034fff8186d6124bffed34b
2015-07-09 10:11:46 -04:00
Xingchao Yu 7ef8c53cce Update README.md for project namespace change
Change-Id: I8a73cf3debf9f23bd0588a788a0ccecd77035c3c
2015-06-28 20:30:48 +08:00
Colleen Murphy c4ca308c26 Split release notes into a CHANGELOG.md file
This patch splits out release notes into a separate dedicated file for
consistency with the puppetlabs puppet modules. Additionally, this
patch improves the release notes by:

- Fixing the tense to be consistent with commit message standards ("Add
  new feature" instead of "Added new feature" or "Adds new feature")
- Breaking up changes into categories to make it easier for operators
  to know what happened in the change: backwards-incompatible changes,
  features, bugfixes, and maintenance commits
- Linewrapping to 80 chars
- Adding release dates, formatted according to ISO-8601

Change-Id: I44f3e7bc16fa85dcdf6eab90f26fa6ad94c6e4fd
2015-06-26 17:48:59 -07:00
Colleen Murphy 96208fc8d0 Release 5.1.0 - Juno
Prepare 5.1.0 release.

Change-Id: Ifee8f9026427903cda7aad09a974493055190c8b
2015-06-17 11:27:04 -07:00
Emilien Macchi 59b47a29d1 Beaker tests
Implement basic structure for beaker tests.

Change-Id: I3ff1f74115be8029bffc0eb9f11e09cbd4cd74a9
Closes-bug: #1444736
2015-05-04 14:22:38 -04:00
vinsh 0d40df78fe doc spelling corrections
Change-Id: I2d19bcf6fa01aca6025cdd5828e35db4a2b17199
2015-02-12 14:28:09 -07:00
Colleen Murphy 68a9e8eecb Release 5.0.0 - Juno
Changes in this release:
* Updated s3token.conf template for Juno
* Added parameter log_name to swift::proxy and swift::storage::server
* Bumped stdlib dependency to >=4.0.0

Change-Id: Ib62984c299b72b6aaeb6bd69e712f3e8cc4df109
2014-11-23 19:43:31 -08:00
David Moreau Simard bb3007615f Add swift-ring-builder multi region support
Since Swift 1.8.0, there is the region layer of topology above zones.
swift-ring-builder supports this natively and this commit allows a user to
specify a region when creating devices.
We maintain backwards compatibility by defaulting to region '1'.
The coverage of the ring builder spec tests were also improved as part of
this commit.

Change-Id: I67cbe6b87c84778f71df59cf00f2c5175342bc1b
2014-05-09 15:45:28 -04:00
Chris Hoge 9874edd265 4.0.0 - 2013.1.0 - Icehouse Release (Swift 1.13.1)
Updated Modulefile and README.md for 4.0.0 release.

Change-Id: I114fc54e0fe7a4e1b19f5ea1e6c1eb2dd44a0ffd
2014-05-01 12:07:19 -07:00
Chris Hoge 38603d91fb Updated to match semver and release notes.
Before this update the Modulefile was not following semver in
relation to stable/havana, and the README files were not in sync.
This update introduces proper semver and consistency.

Change-Id: I65fda078f20eb8d41b260c4550ac3c262cca8267
2014-03-21 16:25:06 -07:00