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
This commit is contained in:
Dan Bode 2013-07-26 14:21:23 -07:00
parent b4584daaae
commit cb2e06556d
2 changed files with 2 additions and 0 deletions

@ -24,6 +24,7 @@ describe 'swift::proxy::authtoken' do
verify_contents(subject, fragment_file,
[
'[filter:authtoken]',
'signing_dir=/var/cache/swift',
'paste.filter_factory = keystoneclient.middleware.auth_token:filter_factory',
'auth_host = 127.0.0.1',
'auth_port = 35357',

@ -1,4 +1,5 @@
[filter:authtoken]
signing_dir=/var/cache/swift
paste.filter_factory = keystoneclient.middleware.auth_token:filter_factory
auth_host = <%= @auth_host %>
auth_port = <%= @auth_port %>