From e4f3c316653d5bd5f48fb2bb25b84ac622da6e07 Mon Sep 17 00:00:00 2001 From: "Gun.io Whitespace Robot" Date: Wed, 21 Dec 2011 10:55:34 -0500 Subject: [PATCH] Remove whitespace [Gun.io WhitespaceBot] --- cookbooks/nginx/templates/default/nginx.init.erb | 4 ++-- cookbooks/nodebox-production/templates/default/upstart.erb | 2 +- cookbooks/nodejs/README.rdoc | 2 +- cookbooks/nodejs/recipes/default.rb | 4 ++-- cookbooks/nodejs/recipes/npm.rb | 4 ++-- 5 files changed, 8 insertions(+), 8 deletions(-) diff --git a/cookbooks/nginx/templates/default/nginx.init.erb b/cookbooks/nginx/templates/default/nginx.init.erb index 20db455..18a5e19 100644 --- a/cookbooks/nginx/templates/default/nginx.init.erb +++ b/cookbooks/nginx/templates/default/nginx.init.erb @@ -65,7 +65,7 @@ reload() { } # See how we were called. -case "$1" in +case "$1" in start) start ;; @@ -86,7 +86,7 @@ case "$1" in ;; *) echo $"Usage: $0 {start|stop|status|restart|reload|force-reload|condrestart}" - exit 1 + exit 1 esac exit $? \ No newline at end of file diff --git a/cookbooks/nodebox-production/templates/default/upstart.erb b/cookbooks/nodebox-production/templates/default/upstart.erb index 4fc2d13..653f362 100644 --- a/cookbooks/nodebox-production/templates/default/upstart.erb +++ b/cookbooks/nodebox-production/templates/default/upstart.erb @@ -6,5 +6,5 @@ start on startup stop on shutdown script - sudo -u <%= node[:node_user] %> <%= node[:nodejs][:dir] %>/bin/node <%= node[:app][:path] %>/app.js >> /var/log/<%= node[:app][:name] %>.log 2>&1 + sudo -u <%= node[:node_user] %> <%= node[:nodejs][:dir] %>/bin/node <%= node[:app][:path] %>/app.js >> /var/log/<%= node[:app][:name] %>.log 2>&1 end script diff --git a/cookbooks/nodejs/README.rdoc b/cookbooks/nodejs/README.rdoc index 83be9a8..0617378 100644 --- a/cookbooks/nodejs/README.rdoc +++ b/cookbooks/nodejs/README.rdoc @@ -27,7 +27,7 @@ Include the nodejs recipe to install node from source on your system: include_recipe "nodejs" Include the npm recipe to install npm: - + include_recipe "nodejs::npm" = LICENSE and AUTHOR: diff --git a/cookbooks/nodejs/recipes/default.rb b/cookbooks/nodejs/recipes/default.rb index b278c89..128c090 100644 --- a/cookbooks/nodejs/recipes/default.rb +++ b/cookbooks/nodejs/recipes/default.rb @@ -8,9 +8,9 @@ # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at -# +# # http://www.apache.org/licenses/LICENSE-2.0 -# +# # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. diff --git a/cookbooks/nodejs/recipes/npm.rb b/cookbooks/nodejs/recipes/npm.rb index c7e21b2..8f76298 100644 --- a/cookbooks/nodejs/recipes/npm.rb +++ b/cookbooks/nodejs/recipes/npm.rb @@ -8,9 +8,9 @@ # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at -# +# # http://www.apache.org/licenses/LICENSE-2.0 -# +# # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.