Remove trailing whitespace

In favor of upgrading to lint 2.0.2

2016-11-07 12:27:47.002216 | + /home/jenkins/workspace/gate-puppet-swift-puppet-lint/openstack-swift/.bundled_gems/bin/bundle exec rake lint
2016-11-07 12:27:52.905339 | manifests/proxy/tempauth.pp:126:ERROR: trailing whitespace found

Change-Id: I2bc31111719b4755afe3d7acfc4e6ab17c3a7598
This commit is contained in:
Carlos Camacho 2016-11-08 16:05:45 +01:00
parent 22f32f8ea1
commit 26e6da96bd

View File

@ -116,7 +116,7 @@ class swift::proxy::tempauth (
}
# tempauth account_users end up in the following format
# user_<account>_<user> = <key> .<group1> .<groupx>
# user_<account>_<user> = <key> .<group1> .<groupx>
# ex: user_admin_admin=admin .admin .reseller_admin
# account_data is an array with each element containing a single account string:
# ex [user_<account>_<user>, <key> .<group1> .<groupx>]
@ -125,7 +125,7 @@ class swift::proxy::tempauth (
"<% @account_user_list.each do |user| %>\
user_<%= user['account'] %>_<%= user['user'] %>,\
<%= user['key'] %> <%= user['groups'].map { |g| '.' + g }.join(' ') %> ; <% end %>"),';')
# write each temauth account line to file
# TODO replace/simplify with iterators once all supported puppet versions support them.
swift::proxy::tempauth_account { $account_data: }