Configurable admin for Swift proxy authtoken class

The admin user and admin tenant are being passed to the
openstack::swift::proxy class but then are hardcoded in the call of the
proxy::authtoken class. This change passes the configured values to the
authtoken class also.

Change-Id: I9a0e762a9b4f2ddbe707ff36f89773c72cacb641
This commit is contained in:
Chris Ricker 2013-09-23 06:26:31 -07:00
parent c0d90a2e8a
commit 0de6ce0c4f

View File

@ -81,8 +81,8 @@ class openstack::swift::proxy (
operator_roles => ['admin', 'SwiftOperator'],
}
class { '::swift::proxy::authtoken':
admin_user => 'swift',
admin_tenant_name => 'services',
admin_user => $swift_admin_user,
admin_tenant_name => $swift_admin_tenant,
admin_password => $swift_user_password,
auth_host => $real_keystone_host,
}