forked from redhat-openstack/openstack-puppet-modules
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* `python-swiftclient` is now installed by default. * Fixed swift3. * Fixed s3token. * Recreated authtoken - it used to be configured in the Keystone module. * Created proxy-logging filter
- Loading branch information
Showing
10 changed files
with
79 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
# | ||
# Configure swift proxy-logging. | ||
# | ||
# == Dependencies | ||
# | ||
# == Examples | ||
# | ||
# == Authors | ||
# | ||
# Joe Topjian [email protected] | ||
# | ||
class swift::proxy::proxy-logging { | ||
|
||
concat::fragment { 'swift_proxy-logging': | ||
target => '/etc/swift/proxy-server.conf', | ||
content => template('swift/proxy/proxy-logging.conf.erb'), | ||
order => '27', | ||
} | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,12 +8,22 @@ | |
# == Authors | ||
# | ||
# François Charlier [email protected] | ||
# Joe Topjian [email protected] | ||
# | ||
# == Copyright | ||
# | ||
# Copyright 2012 eNovance [email protected] | ||
# | ||
class swift::proxy::swift3() { | ||
class swift::proxy::swift3( | ||
$ensure = 'present' | ||
) { | ||
|
||
include $::swift::params | ||
|
||
package { 'swift-plugin-s3': | ||
name => $::swift::params::swift3, | ||
ensure => $ensure, | ||
} | ||
|
||
concat::fragment { 'swift_swift3': | ||
target => '/etc/swift/proxy-server.conf', | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
[filter:authtoken] | ||
paste.filter_factory = keystone.middleware.auth_token:filter_factory | ||
signing_dir = /etc/swift | ||
auth_host = <%= auth_host %> | ||
auth_port = <%= auth_port %> | ||
auth_protocol = <%= auth_protocol %> | ||
auth_uri = <%= auth_uri %> | ||
# if its defined | ||
<% if admin_token -%> | ||
admin_token = <%= admin_token %> | ||
<% else -%> | ||
admin_tenant_name = <%= admin_tenant_name %> | ||
admin_user = <%= admin_user %> | ||
admin_password = <%= admin_password %> | ||
<% end -%> | ||
delay_auth_decision = <%= delay_auth_decision %> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
[filter:proxy-logging] | ||
use = egg:swift#proxy_logging | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
[filter:swift3] | ||
use = egg:swift#swift3 | ||
use = egg:swift3#swift3 | ||
|