From 26e6da96bdeb15b11d20aeba6a5d7bb2725fb45f Mon Sep 17 00:00:00 2001 From: Carlos Camacho Date: Tue, 8 Nov 2016 16:05:45 +0100 Subject: [PATCH] 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 --- manifests/proxy/tempauth.pp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/manifests/proxy/tempauth.pp b/manifests/proxy/tempauth.pp index ff1503d8..11f72753 100644 --- a/manifests/proxy/tempauth.pp +++ b/manifests/proxy/tempauth.pp @@ -116,7 +116,7 @@ class swift::proxy::tempauth ( } # tempauth account_users end up in the following format - # user__ = . . + # user__ = . . # ex: user_admin_admin=admin .admin .reseller_admin # account_data is an array with each element containing a single account string: # ex [user__, . .] @@ -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: }