30 Commits

Author SHA1 Message Date
Derek Higgins
995ec33b13 Fixed tests 2012-11-15 11:46:05 +00:00
Sergio Rubio
2bb6be25bd Create /var/cache/swift directory
Default directory for middleware like Swift-recon
2012-10-02 11:13:45 +02:00
Branan Purvine-Riley
eef6b12f44 Replace expect..should with expect..to 2012-07-12 15:24:03 -07:00
François Charlier
a5788bae83 Disable 'use chroot' for rsync::server
Allow to keep the right username/groupname for rsync'ed files if the
uids and gids are not in sync on all the servers
2012-06-19 16:16:24 +02:00
Dan Bode
7c1cf9b14f Merge pull request #31 from fcharlier/dispersion
Add swift-dispersion configuration
2012-06-06 09:01:42 -07:00
Dan Bode
09f726c363 Allow multiple devices per endpoint.
Previously, the Puppet modules only supported a single device per
endpoint.

This commits allows multiple devices per endpoint by making the device
name a part of the namevar for the swift ring devices.

it also updates the relevent configs.
2012-06-05 16:45:47 -07:00
Dan Bode
b428438460 Merge pull request #26 from fcharlier/replicator_services
Replicator services
2012-06-05 09:29:54 -07:00
François Charlier
caad4e3732 Implement additional proxy middlewares
This commit implements additional proxy middlewares
  - catch_errors - handles errors
  - ratelimit    - limits incoming requests
  - s3token - misddleware for s3auth
  - swift3 - implement swift APIs

These middlewares needed to be modeled b/c they
are configurable interfaces that needed to be
configurable via Puppet.
2012-06-04 13:47:52 -07:00
François Charlier
01ecb029cd Implement individual server pipelines
This commit adds the ability to specify
individual pipelines per storage server.

This allows users to specify their own custom
pipelines to determine how they implement the
middlewares for their storage instances.
2012-06-04 13:47:31 -07:00
François Charlier
22d2f61289 Add swift-dispersion configuration
* Add config file for swift-dispersion-populate & swift-dispersion-report
* Add creation of keystone user for swift-dispersion
2012-06-04 21:46:18 +02:00
Dan Bode
6323311c04 Add concat_basedir fact
This commit adds the required fact concat_basedir so that
the concat module (which is a dependency for some glance classes) will not fail.

This change is necesary b/c we have switched from the puppetlabs version to
ri's version of concat.
2012-05-29 16:31:21 -07:00
Dan Bode
83b8466eb0 Add tests for swift::keystone::auth
Adds rspec-puppet tests for the swift::keystone::auth class.
2012-05-29 13:06:21 -07:00
Dan Bode
1413a9ed6e Merge pull request #24 from fcharlier/operator_roles
Fix operator_roles test after changes in 2304e863
2012-05-29 09:25:07 -07:00
François Charlier
9514dd250a Ensure the replicator services are started 2012-05-23 17:16:58 +02:00
François Charlier
0b397ac492 Fix operator_roles test after changes in 2304e863 2012-05-21 15:05:20 +02:00
Branan Purvine-Riley
0684d1f6cd Add concat_basedir fact to tests that validate concat fragments 2012-05-08 15:51:51 -07:00
Dan Bode
047cb81ff3 Remove ppa rspec code
This commit removes the ppa specs since the classes
containing the ppas have been removed.
2012-04-22 12:12:07 -07:00
Dan Bode
24a01d1bea Implement proxy pipline into fragments
The swift pipeline is commonly used to plug
capabilities in.

This pipeline should be implemented in a way that
is easier to extend as people desire additional
pipelines.

This commit implements classes that can be used
to configure the following pipelines:
  - proxy::cache
  - proxy::healthcheck
  - proxy::keystone
  - proxy::swauth

It also reimplements swift::proxy to utilize those
pipelines for configuration.
2012-04-22 12:11:27 -07:00
Dan Bode
84d59985fc Remove ppa config
This commit removes the config for setting up
the custom ppas. The ppas referenced here have
been deprecated.
2012-04-21 12:55:51 -07:00
Dan Bode
01b9c7cbd1 Add unit tests for xfs 2012-04-06 10:18:14 -07:00
Dan Bode
c07615d557 Remove patched upstart scripts
I was using older versions of the Ubuntu packages
that shipped with broken upstart scripts.

I am removing these patches now that I am using packages
that work.

Also updates the spec tests to account for the changes.
2012-04-06 09:42:48 -07:00
Dan Bode
cd33a745c5 Add fedora support
This commit adds support for fedora.

It introduces a params namespace class
to hold data differences between ubuntu and fedora.

It also moves the xfs packages into their own class (swift::xfs)
2012-03-20 12:55:34 -07:00
Dan Bode
d7698139fe Update spec tests
Add libdistcodename to all apt repo spec tests so
that they will work with the latest version of apt.
2012-03-13 16:42:57 -07:00
Dan Bode
f07363b6af Update spec tests
This commit updates the spec tests so that they should work.

- the ssh module that they depend on had introduced a dependency on
  the operatingsystem fact
- tests had not been updated to reflect using xinetd and not the service
to run the rsync daemon
- update travis-ci to include the xinetd module
2012-03-13 16:30:19 -07:00
Dan Bode
4752a3d85f Decouple memcached configuration from proxy
It is possible that the memcache server(s) may
reside on different machines than the swift
proxy.

This commit decouples the configurations of the
two services.
2012-03-05 21:57:10 -08:00
Dan Bode
0e7cb86dcd Update ring creation defaults
Updates the defaults to ring creation to use
replica of 3 and min part hours of 24.

These are the defaults recommended by the swift
documentation.
2012-03-02 20:03:53 -08:00
Dan Bode
5083e19bc4 Decouple storage server types from each other
Previously, all of the storage server types
(account, container, proxy) were always
configured to be installed on the same node.

It often makes sense to only have the account and
container together, and to put the object server on
a different node. (or its possible that other
configurations make sense)

This commit refactors the swift module so that
each of the types of nodes can be built
independently of each other.
2012-03-02 20:01:49 -08:00
Dan Bode
4775be3a5f Add rspec-puppet test coverage
This commit adds test coverage for almost all
swift classes and defines.

It does not quite add 100% coverage (probably
more like 85%)
2012-02-26 20:52:27 -08:00
Dan Bode
1be67de6d4 Remove accidentally checked in swap file 2012-01-23 11:44:52 -08:00
Dan Bode
47d49e7780 Initial commit.
This initial commit only targets a single node
swift install on Natty based on 1.4.6
2012-01-19 18:58:37 -08:00