79 Commits

Author SHA1 Message Date
Jenkins
c9090bf724 Merge "Fix compatibility with latest puppetlabs-concat" 2013-10-29 17:08:53 +00:00
Mathieu Gagné
23cc3616ce Fix compatibility with latest puppetlabs-concat
concat::setup has been made a private class and can no longer be
included from modules outside concat itself.

concat::setup is already included by the concat define. Removing
its inclusion from puppet-swift classes shouldn't result in breakage
or loss of functionality.

Change-Id: I7566e09bd4e93aec719a495279cf92d8a898057e
Closes-bug: #1245936
2013-10-29 11:48:48 -04:00
Jenkins
5a655f8694 Merge "Use swift_dispersion_config" 2013-09-20 07:47:24 +00:00
Mathieu Gagné
ba6abfa6c7 Use swift_dispersion_config
Use swift_dispersion_config to configure dispersion.conf

Implements: blueprint puppet-swift-ini-settings
Change-Id: I521eefa88e943858f850727f0e57ca35c6b695f2
2013-09-04 20:04:44 -04:00
Jenkins
ef8507d287 Merge "Use swift_bench_config" 2013-09-04 23:55:35 +00:00
Mathieu Gagné
49d6801247 Use swift_bench_config
Use swift_bench_config to configure swift-bench.conf

Implements: blueprint puppet-swift-ini-settings
Change-Id: I97a14f0210aa472876188e66249ea53f34afff72
2013-08-31 01:12:35 -04:00
Dan Prince
c89e327fb8 Use swift_config to configure swift.conf
This change also adds an autorequire in the swift_config
type to ensure the /etc/swift/swift.conf exists.

Change-Id: Ic591a3ceb040c4599339ed7f750a5273d2052ac1
Implements: blueprint puppet-swift-ini-settings
2013-08-26 20:54:06 -04:00
Dan Prince
f10bcda7e6 Revert "Use swift_config"
This reverts commit e7bb58e6ba39d7daeee9069c83451f8898d8a424.

Fixes LP Bug #1216881.

Change-Id: I65109b8bfeeb2f59971dadbdb14ec47b1fc82a89
2013-08-26 08:12:07 -04:00
Mathieu Gagné
e7bb58e6ba Use swift_config
Use swift_config to configure swift.conf

Implements: blueprint puppet-swift-ini-settings
Change-Id: I3cb4b4f6f5586216e503dfe9b66b5e2e457cc90f
2013-08-25 23:22:05 -04:00
Daneyon Hansen
f71d159c4d Improve Proxy Signing Directory Support
1. The signing_dir was being created on every swift node
when it's only needed on proxies:

  http://docs.openstack.org/grizzly/openstack-compute/install/apt/content/installing-and-configuring-the-proxy-node.html

2. The signing_dir was not configurable, even though
the OpenStack doc's show multiple references
(/var/cache/swift and /home/swift/keystone-signing).

Change-Id: I3eb00046fc535a32d7a1800d15489e9fe071373b
2013-08-12 18:39:15 +00:00
Mathieu Gagné
178f4b18dc Various Puppet lint fixes
* Fix following warnings:
    * double quoted string containing no variables
    * indentation of => is not properly aligned
    * mode should be represented as a 4 digit octal value or symbolic mode
    * string containing only a variable
    * top-scope variable being used without an explicit namespace
    * unquoted file mode
    * variable not enclosed in {}
* Fix following errors:
    * trailing whitespace found
    * two-space soft tabs not used
* Remove quotes around class in include/require statements

Change-Id: Ia920d848e1955612a6486ec8731309e6d3a70f63
2013-08-02 11:51:57 -04:00
Dan Bode
cb2e06556d Add signing dir
Currently, my swift installation fails with the following
error message:

  [Errno 13] Permission denied: '/root/keystone-signing

and the proxy server can never service requests.

This is b/c by default the client side directory for
pki-signing seems to use $HOME. This commits sets the
directory to be /var/cache/swift/ and resolves my
swift-proxy issues.

Change-Id: Ice904a9d53432ba1a1ae9516cd0ee6204ade63bb
2013-07-29 07:21:48 -07:00
newptone
b4584daaae Add configurable log for proxy-server service
This patch add configurable log for swift proxy-server service.
And add related spec test.

Partially implements blueprint puppet-swift-log-support.

Change-Id: I385093b3e63f8210d83ec125e6d2578b06b631d4
2013-07-26 04:33:23 +00:00
Newptone
45cec2d3fb Add swift::bench to manage swift-bench.conf
This patch adds a conf file swift-bench.conf
for swift performance bench, and add a spec
test for it.

Fixed bug 1188968

Change-Id: Iafb67f116a9403bba96328be7c9c09d21a65a74c
2013-07-05 11:50:27 +08:00
Chris Ricker
fb293273ea Unset default signing dir
Unset default signing dir to allow the keystoneclient to set its own.
The specified /etc/swift location is not ideal and breaks on recent
keystoneclients

Change-Id: I16aadb77ee85e84645fe6745760a2c6edee49c2b
2013-06-24 19:57:24 -07:00
Jenkins
0d2ceb8d14 Merge "Add auth_admin_prefix and custom auth_uri params" 2013-06-17 04:48:57 +00:00
Newptone
b0f4834165 Fix dependency problem in class swift
Class swift requires class['ssh::server::install'], otherwise it will
complain and fail to compile the catalog.

Change-Id: Ieeef735cc3e78bb6a6b514c711e5b87a861ee31b
2013-06-10 18:32:41 +08:00
François Charlier
09a78bfd9d Add auth_admin_prefix and custom auth_uri params
auth_admin_prefix allows the prepend of a prefix to the URL used for
admin tasks.  See: https://review.openstack.org/#/c/7156/ for
implementation in Keystone.

auth_uri allows to specify the public authentication url (Keystone's
public endpoint) if it can't be guessed from $auth_host + $auth_protocol

Implements blueprint serve-keystone-from-wsgi

Change-Id: Ic66727f78406d70b5ab5bc07fcc074477df2303c
2013-06-05 20:50:37 +02:00
Radim Kubacki
3a0413f7f5 Customizable allowed_sync_hosts in container-server.conf
Insert default value into .conf file (127.0.0.1) or use
custom value if specified.

Change-Id: I9caec9657a2a3ad789b7dab646e505f609c25655
2013-05-29 12:39:21 +02:00
Derek Higgins
e6591fdd49 Use new keystoneclient middleware.
Change-Id: I04bba12dbe765b4ee16d026a37dbb26f737822f1
2013-05-01 06:12:19 -04:00
Jenkins
a8f84b5548 Merge "Add the ceilometer middleware" 2013-05-01 03:37:56 +00:00
Jenkins
7ce927d417 Merge "Add address params to the swift::keystone::auth" 2013-05-01 02:49:40 +00:00
François Charlier
015be53c81 Add the ceilometer middleware
Change-Id: Ibcdaa1218c8d027dc3e4b6d2cd394e9d0af8c6da
2013-04-29 10:30:33 +02:00
Derek Higgins
90f58f8f92 Start swift support services on Red Hat
Now starting these services on all distros
swift-account-auditor swift-container-auditor swift-object-auditor
swift-account-reaper swift-container-updater swift-object-updater

Change-Id: I98cfcef3b43a2bdad6f359e4e4098a6113245353
2013-04-24 06:16:59 -04:00
newptone
004b8b4148 Add address params to the swift::keystone::auth
Fix bug 1170194

   This patch contains:
       * add param admin_address and internal_address
       * fix tab misusing

Change-Id: Id3865240a3d5d289c557fd8cc51d6f1d77057ed8
2013-04-24 16:13:04 +08:00
Derek Higgins
9759682213 Set hasstatus => true for proxy services
Fix bug 1170711

notifies to proxy services on RHEL were not causing a restart of the service

Change-Id: Ia2c4df9135daa80380c4aec0627605d5afb88386
2013-04-19 10:07:46 -04:00
Dan Prince
9d7ba981d1 Drop Swift requirement on keystone:python.
I believe this requirement was added to obtain support auth_token
middleware (keystone auth support). This is now provided via
keystoneclient.

Since this requirement no longer works we should drop it since
it is heavyweight to install keystone source code on all the
swift proxies.

Most packages automatically require keystoneclient as well so
we can probably ignore automatically adding this dep in here. I'm open
to doing that if we thing it worthwhile... but we'll first need to
make a keystone::client module to support it.

Change-Id: I2a85ea964d2b9e1a93c3ec0ba8de31b188c140ea
2013-04-12 08:05:00 -04:00
Jenkins
9ad39d5fdc Merge "Remove traling / from keystone admin_url endpoint" 2013-04-11 17:16:20 +00:00
Jenkins
3c741a78d5 Merge "Update keystone fragment to use egg." 2013-04-11 16:48:36 +00:00
François Charlier
e8a478df59 Remove traling / from keystone admin_url endpoint
Change-Id: I567c3dbb4f4e498365074fd64a5f70395c6f7cd7
2013-04-11 16:14:38 +02:00
Dan Prince
ab00ec58e2 Update keystone fragment to use egg.
Update keystone.conf.erb to use egg:swift#keystoneauth.

This resolves issues in trying to configure keystone with the
latest Swift releases.

Change-Id: Idf160eb143150bed9a9c7081a6900c6169887be8
2013-04-11 10:03:43 -04:00
Jenkins
adf2b988c4 Merge "Allow customise log_facility in storage server configuration" 2013-04-11 06:25:42 +00:00
Jenkins
d1f1e9b8c9 Merge "Ensure python-swiftclient is installed to use swift-dispersion" 2013-04-11 05:17:12 +00:00
Mehdi Abaakouk
e437b44d44 Allow to have a different internal address and public address
Change-Id: Id87323393a3bfd0ac3c9bc80fa2f46775e102eea
2013-04-10 10:03:41 +02:00
Mehdi Abaakouk
45edcd61de Ensure python-swiftclient is installed to use swift-dispersion
Change-Id: I03a27989bbcb957227ca2ab1f5c54420b29bb24a
2013-04-10 09:56:52 +02:00
Mehdi Abaakouk
b634c440ca Allow customise log_facility in storage server configuration
Change-Id: I4c698b7657dde1d0f1ba6b4043ca9ce992dcdb56
2013-04-10 09:54:05 +02:00
Dan Bode
0602fb5dfe fix failing tests
this fixes some tests that are failing b/c of some puppet 3.x changes
in the way that deps of containers propogate to the contained resources.
2013-03-21 23:15:10 -07:00
Dan Bode
26c270f164 Merge pull request #83 from enovance/sileht/pr/publicport
Allow to have a different internal port and public port
2013-01-15 13:33:45 -08:00
Dan Bode
3d2462bd78 add upstart symlink
the service upstart provider does not
work unless the init script is a symlink
to /lib/init/upstart-job for at least older
versions of Puppet.

This commit adds this symlink to avoid
run time apply failures.
2013-01-11 14:47:21 -08:00
Dan Bode
b5290c4f9b Remove leading set from config
one of the config settings previously
contained a leading set before a config
setting.

This does not convert to the ini file format AFAIK, so
it has been changed.
2013-01-11 14:12:04 -08:00
Dan Bode
a467efdc46 level up swift test file
improve the file used to test swift.

convert into a template.
create a class to configure and deploy it.
2013-01-11 12:21:16 -08:00
Mehdi Abaakouk
4f77fa42ad Allow to have a different internal port and public port 2012-12-20 11:58:10 +01:00
Dan Bode
908c82ed6b Merge pull request #74 from fcharlier/fc/dispersion_with_tenant
Update swift::keystone::dispersion
2012-12-12 10:32:23 -08:00
Dan Bode
11a841ee99 Merge pull request #78 from Mirantis/create-swift-user
Create swift user and home directory
2012-12-11 21:49:45 -08:00
Dan Bode
c12b8214e4 Merge pull request #81 from Mirantis/fix-swauth
Fix missing package_ensure in swauth
2012-12-11 21:48:40 -08:00
vic
d1fd4084af Fix missing package_ensure in swauth 2012-12-04 15:58:01 +04:00
Eugene Kirpichov
52753b9508 Create swift user and home directory 2012-11-30 19:44:17 +04:00
François Charlier
b885ed7488 Update swift::keystone::dispersion
• Use the new keystone_user & keystone_user_role parameters
• Add email & tenant parameters
2012-11-21 20:15:53 +01:00
Mehdi Abaakouk
3ac424cc42 Add some middlewares (tempurl, staticweb, formpost) 2012-11-16 19:16:08 +01:00
Derek Higgins
995ec33b13 Fixed tests 2012-11-15 11:46:05 +00:00